First install backlight
1 |
sudo apt-get install xbacklight |
Find which video card is installed in your system by typing the following command.
1 |
ls /sys/class/backlight/ |
For me it’s intel.
Create a configuration file:
1 |
sudo nano /usr/share/X11/xorg.conf.d/20-intel.conf |
and copy the following into the the configuration file:
1 2 3 4 5 6 |
Section "Device" Identifier "card0" Driver "intel" Option "Backlight" "intel_backlight" BusID "PCI:0:2:0" EndSection |
Save the configuration file.
Now logout and then log back into the system and the brightness control would be working through the function keys.
That’s it. Simple :).