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?
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?