Ubuntu – Screen brightness reset to minimum after every reboot


Ubuntu 11.10 doesn't save my brightness settings between sessions. Everytime I boot up, the brightness is always at zero, and I always have to set it back to my preferred setting (at maximum). How can I ensure that my brightness preference will persist after reboot?

Best Answer

In the file /etc/rc.local add before line exit 0:

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

Where 5 is the brightness level from 0 to 10