LCD Brightness in KDE4

Dec 28 2009

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.

  1. find a path like “/proc/acpi/video/VGA/LCD/brightness” using ls and cd (the exact path varies)
  2. cat yourfile. The top line contains possible values. The bottom line is the current one.
  3. login as root using su
  4. 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

  1. cd ~/.kde/Autostart
  2. vim
  3. put the following lines in it:

#! /bin/sh

echo -n brightness > /proc/acpi/video/VGA/LCD/brightness

  1. chmod 775

No responses yet