For Jaunty, my current workaround to get max brightness easily is to add a 
launcher in my menu bar.
The command is :

 sudo /usr/local/sbin/max-brightness

The content of this script is :

 #!/bin/sh
 FILE=/proc/acpi/video/VGA/LCDD/brightness
 MAX=`/usr/bin/awk '/^levels/ {print $NF}' $FILE`
 echo $MAX > $FILE

This file needs to be executable (chmod +x /usr/local/sbin/max-
brightness). To make sure the user is not prompted for password every
time it runs this script you can use "sudo visudo" to add the following
lines :

 # Brightness fix
 NAME_OF_USER   ALL=NOPASSWD:  /usr/local/sbin/max-brightness

-- 
thinkpad sl400 light control keys don't work
https://bugs.launchpad.net/bugs/348348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to