Comment 124 for bug 95444

Revision history for this message
acid-r4in (rpeternella) wrote : Re: No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics

See if this works with you (it's ok with my FZ340E/B):

- install nvclock and insert the /local/usr/bin (or the path where nvclock was installed) in the $PATH variable at /etc/profile
- chmod 777 nvclock so it can be executed as normal user
- Map the fn+f5 and fn+f6 keys (brightness up and down) with xev. This way you can actually know the keycode for them. In my case they are 101 and 212.
- install xbindkeys package.
- create a file in your home directory name .xbindkeyrc
- add the following lines to .xbindkeysrc:

#adjust the brightness up -> keep the double quotes as they are part of the script
"nvclock -S +10%"
  c:101

#adjust the brightness down -> keep the double quotes as they are part of the script
"nvclock -S -10%"
  c:212

- make sure following command runs every time you start X (via startx, or kdm, whatever):
  xbindkeys -f ~/.xbindkeysrc

- give it a try :)

hope this works, it's perfect here, but the only problem is that there is no visual feedback indicating the current level. Altough, it's a minor problem in my opinion.