Panel Brightness on Samsung R60plus
Since all the pre-build stuff I tried does not work (or only sometimes work) I wrote myself some scripts:
First, I wrote a bash script that lets me control the brightness. I call it brightness.sh, put it in /bin/ and made it user-executable.
Problem is, the the file /sys/class/backlight/acpi_video0/brightness is not user-writeable and it reverts back to that state after every reboot. So I build myself a new script called brightness_permissions.start and put it in /etc/local.d/.
Then I try to get the keycodes of Fn+Up and Fn+Down using xev and put them in ~/.Xmodmap.
To actually call my script I use xbindkeys. I put the following in ~/.xbindkeysrc and start it with xbindkeys -f .xbindkeys.
Related Topics: Backlight und Samsung R60plus
First, I wrote a bash script that lets me control the brightness. I call it brightness.sh, put it in /bin/ and made it user-executable.
Problem is, the the file /sys/class/backlight/acpi_video0/brightness is not user-writeable and it reverts back to that state after every reboot. So I build myself a new script called brightness_permissions.start and put it in /etc/local.d/.
Then I try to get the keycodes of Fn+Up and Fn+Down using xev and put them in ~/.Xmodmap.
To actually call my script I use xbindkeys. I put the following in ~/.xbindkeysrc and start it with xbindkeys -f .xbindkeys.
Related Topics: Backlight und Samsung R60plus
Kommentare
Ansicht der Kommentare: Linear | Verschachtelt