Here's what the old script did, for reference in implementing the gnome- power-manager fix.
BRIGHTNESS=$(cat /sys/class/backlight/sony/brightness) if [ "$BRIGHTNESS" -gt 7 ]; then BRIGHTNESS=0 fi if [ "x$1" = "xdown" ]; then if [ "x$BRIGHTNESS" != "x0" ]; then BRIGHTNESS=$(( $BRIGHTNESS - 1 )) echo $BRIGHTNESS > /sys/class/backlight/sony/brightness else [ -x /usr/bin/spicctrl ] && /usr/bin/spicctrl -b 0 fi # Recent nvidia Sonys have ACPI methods that do nothing. Thanks, Sony. [ -x /usr/bin/smartdimmer ] && smartdimmer -d 2>/dev/null elif [ "x$1" = "xup" ]; then if [ "x$BRIGHTNESS" != "x7" ]; then BRIGHTNESS=$(( $BRIGHTNESS + 1 )) echo $BRIGHTNESS > /sys/class/backlight/sony/brightness fi [ -x /usr/bin/smartdimmer ] && smartdimmer -i 2>/dev/null else echo >&2 Unknown argument $1 fi -- fn keys for backlight (brighness) not working : geforce 8 card on sony vaio https://bugs.launchpad.net/bugs/345531 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs