Sunday 9 December 2012

Setting Background Light on Lenovo with Ubuntu

Run the following command in the terminal to check the hardware:
 
ls /sys/class/backlight/*/brightness 

You will get output like:

ls /sys/class/backlight/intel_backlight/brightness

Get the current brightness level by:

cat /sys/class/backlight/intel_backlight/brightness

 And maximum level by:

cat /sys/class/backlight/acpi_video0/max_brightness

If the maximum level is equal to the current level then change the level by running the following command in the terminal (for e.g you want to set the level to 1000):

echo 1000 | sudo tee /sys/class/backlight/intel_backlight/brightness

No comments:

Post a Comment