I used the patch provided by nielsslot that allows to use a percentage
instead of a numeric value and I also changed "sony-brightness-down" and
"sony-brightness-up" and now when I adjust brightness via fn keys my
display reports the actual brightness. I'm using kde, I don't know if it
works also in gnome.

I created the two files "/etc/acpi/battery.d/90-brightness.sh" and
"/etc/acpi/ac.d/90-brightness.sh" in order to use nvclock inside
"/etc/acpi/power.sh", as suggested by seek, and it works too.

Like Patrick I had to restart acpid in order to have nvclock working,
but when I rebooted it stopped to work till I restarted acpid again. To
avoid the continuous manual restart of acpid I used this workaround:

1) I created an executable file, "acpirestart.sh", that restarts acpid
when kde is loaded. I placed it in "/home/~/.kde/Autostart/" (I don't
know the path to gnome autostart):

vim /home/~/.kde/Autostart/

#!/bin/sh
sudo /etc/init.d/acpid restart

2) I changed "etc/sudoers" in order to allow to my user to restart acpid
without providing a password:

sudo EDITOR=vim visudo

# Cmnd alias specification
Cmnd_Alias     ACPID = /etc/init.d/acpid

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
[username]        ALL = NOPASSWD : ACPID

-- 
No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics
https://bugs.launchpad.net/bugs/95444
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to