One Stop solution for adjust screen brightness in Linux


This one is just temp/quick fix for brightness issue for Linux machines. Some people, like me cannot stand with higher values of computer screen brightness. We surely adjust as per our eye suitability.  But what if we work on Office Machines or using a friend’s one ? May not all the time, we shall have full permission to change the screen brightness. In such cases, this quick fix can be a heaven for your eyes. 😛

First

we find which display device we are connected to. open your Terminal and fire this below command. Please dont type ‘#’ also. It is for just to indicate that is a terminal / shell env.
#xrandr -q | grep ” connected”

Now, this will output the connected display such as

VGA1 connected primary 1366×768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm 

This is in my case, but it will vary as per systems. For me VGA1 is my display. Some times it may show LVDS1 and so on.

Now, use the second command for set up our brightness level

#xrandr –output VGA1 –brightness 0.6

that is, we set the brightness 60% of maximum brightness. This is ok for my eyes, but not for my Boss, so whenever he leans to my monitor for some thing, I will set this back to 1. voila !

So thats how Save Eye from Blindness going !! 😛

 

Advertisements