Ubuntu – Make xconf configuration permanent


I edited the xconf file, and added this line to device section:

Enable brightness control=1

Now I am able to adjust brightness, but after every restart the brightness setting change back to 100%.

Is there any solution for this?

Best Answer

To adjust brightness in xubuntu or ubuntu Open a terminal window, and execute this command to edit /etc/rc.local:

sudo nano /etc/rc.local

Add this before the last line “exit 0″:

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

Where number xx is the value of your screen brightness of your choice.

The maximum value for brightness can be found with:

cat /sys/class/backlight/acpi_video0/max_brightness