Smaller brightness steps with the Asus N56VB and Ubuntu

Ubuntu on the laptop is definitely maturing. We’re way past “at least it boots” and now that survival is ensured, it is time for luxury illnesses. One of those on the Asus N56VB is handling of screen brightness which, for my taste, comes in too steep steps. Especially the minimum brightness is still too bright for nocturnals like me.

Thankfully that is not some hardware limitation, so we can get around it with a script:



if [ "$user" != "root" ]; then
echo Re-running as root
sudo $0 $1
exit 0

brightness=`cat $B`

case "$command" in
brightness=`expr $brightness + $increment`
echo $brightness > $B
brightness=`expr $brightness - $increment`
echo $brightness > $B
echo supply up or down

You can bind a call to the script such as: down

or up

to a key shortcut and handle brightness changes with that script. If you feel the increment of 1 is too low, you can change it in the script too.

Script is now available on github

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s