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?
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
xx is the value of your screen brightness of your choice.
The maximum value for brightness can be found with:
Fix brightness control issue with Intel card in Ubuntu:(check which card is there:settings/details/graphics)
Open a terminal and create the following configuration file, if it does not exist:
Now we need to edit this file. You can use any editor be it a terminal one or graphical.
sudo gedit /usr/share/X11/xorg.conf.d/20-intel.conf
Add the following lines to this file:
Section "Device" Identifier "card0" Driver "intel" Option "Backlight" "intel_backlight" BusID "PCI:0:2:0" EndSection
Save it. Log out and log in back. The brightness control should be working through function keys now:
If you want to change the screen brightness in Ubuntu
(I can’t change it using the keyboard shortcuts or the Ubuntu Power Management menu),
open a terminal and execute the following:
sudo setpci -s 00:02.0 F4.B=xx
Where xx is the desired brightness in hex ranging from 0 (brightest) to FF (no brightness at all). I usually change it to E0 when working on battery.