Ubuntu – Brightness setting not remembered on an Asus X54H

12.04asusbrightness

So I set the screen brightness using either the function keys or the brightness & lock app. After a reboot or plugging in A/C the brightness goes back to max. When I take A/C off brightness is again reset to maximum. I'd just like Ubuntu to remember what brightness setting I like! Any ideas?

Laptop is an Asus X54H

Best Answer

1) Edit etc/rc.local and add the below line

echo 4 > /sys/class/backlight/acpi_video0/brightness

Where 4 is the 50 % of brightness. 8 is the maximum

2) reboot

If brightness still goes back to max go to step 3

3) In terminal run the following:

sudo -i
mv /etc/init.d/rc.local /root/
update-rc.d rc.local remove
mv /root/rc.local /etc/init.d/
update-rc.d rc.local defaults

If above 3 steps failed to resolve

Then add sleep 10 to rc.local

Example

sleep 10 
echo 5 > /sys/class/backlight/acpi_video0/brightness
exit 0