I have Vaio E-series laptop. After installing Ubuntu 12.04, its brightness control keys (fn keys) were showing a brightness bar, but brightness was not changing 😦
==> This solution works fine for Ubuntu 12.04 and 14.04 .
So, I first installed nVIDIA drivers. Make Sure you have installed nVIDIA drivers on your Linux, also check your configuration of nvidia Drivers with X.org from nVIDIA Server Settings .
Then edit grub file:
Here, I changed this line
sudo gedit /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux acpi_backlight=vendor"
and reboot the system.
But it doesn’t work 😦 😥
After doing this, function keys were not displaying any brightness bar 😦
Then I UNDO my changes.
Now, I found another solution to edit the /etc/X11/xorg.conf
But this file was not found on my system. :-O
So I made a new file xorg.conf in /etc/X11/
and write this content:
VendorName "NVIDIA Corporation"
Option "NoLogo" "True"
Option "RegistryDwords" "EnableBrightnessControl=1"
After this I update grub with:
and it works!! 🙂 😀 😛
Now I can change my brightness with function keys. 🙂