LCD Brightness in KDE4
The KDE4 control panel does not have a panel for setting the display brightness yet. However, changing the display brightness can be done at the shell, and the changes take effect immediately.
- find a path like “/proc/acpi/video/VGA/LCD/brightness” using ls and cd (the exact path varies)
- cat yourfile. The top line contains possible values. The bottom line is the current one.
- login as root using su
- echo -n new brightness > /proc/acpi/video/VGA/LCD/brightness
to make this permanent every time you login, add it to the KDE autostart directory
- cd ~/.kde/Autostart
- vim set-brightness.sh
- put the following lines in it:
#! /bin/sh
echo -n brightness > /proc/acpi/video/VGA/LCD/brightness
- chmod 775 set-brightness.sh