Set Monitor Brightness with xbacklight script
I’m sure that everyone’s ubuntu-based gnome applet for brightness works, but my laptop’s x3100 doesn’t work with it. It does work with xbacklight. Here is simple script for attaching to icon for your gnome panel:
#!/bin/bash
# monitor_switcher
app=`which xbacklight`
current=`$app -get`
ans=$(zenity --scale --text "Set LCD brightness 0-100" --value "${current%%.*}");
$app -set $ans
Just name this something like monitor_switcher and put into path on your system, then you can use wherever to get a basic slider for setting your brightness. Yes, please make it shorter, prettier or just fix the brightness gnome applet which I’m too lazy to do ![]()


