#!/bin/bash

NUM2=`cat /sys/class/backlight/intel_backlight/brightness`

if [ 'up' = $1 ]; then
        NUM2=`expr $NUM2 \+ 50`
else
        NUM2=`expr $NUM2 \- 50`
fi
echo $NUM2 > /sys/class/backlight/intel_backlight/brightness


use with up or dn parameter to control brightness until resolved

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1105604

Title:
  Brightness control stopped working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1105604/+subscriptions

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

Reply via email to