Through countless hours of searching, I've compiled two different
scripts into one short bash.

#!/bin/bash

# backlight control (sudo apt-get install xbacklight)
# props to everyone in the ubuntu community ~shyce

xrandr --output LVDS --set BACKLIGHT_CONTROL native
sudo /etc/init.d/acpid restart
app=`which xbacklight`
current=`$app -get`
ans=$(zenity --scale --text "Set LCD brightness 0-100" --value 
"${current%%.*}");
$app -set $ans

Enjoy! Something was noted about xrandr not being needed anymore - which
would comment out the first two line, is this true? If so, would you
mind sharing exactly what needs to be done to update our xrandr?

-- 
Unable to adjust screen brightness on recent Sony Vaio notebooks, Intel GMA 
adapter
https://bugs.launchpad.net/bugs/173652
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