I recently installed Ubuntu 11.10 on my Mac Book Pro 7,1. I installed the NVIDIA driver (285). The brightness keys are working (F1 and F2) and I get the box showing the brightness but it does nothing. I can change the brightness in the NVIDIA X Server Settings application. How can I get the brightness working without uninstalling the driver? Thanks in advance.
I was able to get my brightness keys working on my Lenovo W530 on Ubuntu 12.04.
These days X automatically configures itself, so creating an xorg.conf file might make your system inflexible. Instead you can add a section to a file in /usr/share/X11/xorg.conf.d/ and X will include that section in the configuration that it automatically generates.
So to get the screen brightness keys working with your Nvidia graphics card, create a file in the xorg.conf.d directory, e.g:
Paste the following into the file:
Log out and log back in, or reboot, and your brightness keys should now work!
(I blogged this here)
I had a similar issue with my laptop, there is an option you need to add to your
You need to enable Brightness Control.
Open terminal and type
There are some computers, such as my Lenovo W520, that don't with the
Just download and install the latest Deb file from here: https://github.com/downloads/guillaumezin/nvidiabl/nvidiabl-dkms_0.72_all.deb
to ensure that the module will be loaded when the computer boots.
Im personally using Vaio VPCCW21FX (Nvidia Graphic) and Ubuntu Studio 11.10 .. I tried many solutions and nothing could resolve my problem with LCD brightness! Finally wrote these two perl files to manually set brightness/Contrast and Gamma functions inside Nvidia driver config file.
This will be helpfull only if you are able to change brightness within Nvidia X Server Settings
Step 1: create this file and name it "Brightness-Up.pl" (you can use any text editing tool like : gedit,nano,vi,etc.. copy & paste)
Step 2: then make another file, name it "Brightness-Down.pl" and fill with this code:
Step 3: You need to create another file which contains Nvidia Settings.. name it "Nvidia-Settings.cfg" its important that you write name exactly same. fill with:
Thats it! now place these files in unique folder.. you have to bind your Function Keys to these two perl file.you can use Compiz>commands to do that. Run below command to install the compizconfig-settings-manager
or even you can run seperately with these two commands in shell (terminal):
where Brightness is folder I put those files in it.
The above perl script didnt work for me so I wrote my own script as a bash script (since I don't know perl). It got a bit long but it creates the settings file by itself and can be used with command line options to adjust brightness or gamma or both at the same time. I use it with the --brightness-up and --brightness-down switches for the brightness keys on my Keyboard. Easy to assign in XFCE4 and surely also in KDE / GNOME.
Save the file somewhere in your PATH e.g.
Don't forget to
Before you can use it you have to type
This will create the settings file and can also be used to reset the brightness at any time.
for more options: