Friday, June 24, 2016

Adjust gamma on my laptop in linux

On my laptop, I can change brightness easily with function keys on the keyboard, but how do I adjust the contrast?

With an external monitor, there's buttons and an OSD, but the laptop display is totally integrated. What to do?

xgamma to the rescue!

xgamma -gamma 0.7 makes it a bit darker

xgamma -gamma 1.2 makes it a bit lighter


You can also use xrandr:

xrandr by itself will give you a list of your display outputs

xrandr --output VGA-1 --gamma 1.2:1.2:1.2
xrandr --output LVDS-1 --gamma 0.7:0.7:0.7

will set your different outputs to different gamma settings

No comments:

Post a Comment