Cogs and Levers A blog full of technical stuff

Persistent brightness settings in Ubuntu

A really quick tip for persistently setting your video brightness level in Ubuntu, originally picked up from here.

Set the brightness level as you would normally with your control keys, then open a terminal to grab the current brightness setting:

cat /sys/class/backlight/acpi_video0/brightness

The value that you’re given as the output here can be used in your /etc/rc.local startup script. As the last item prior to the exit 0 statement, just add this:

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