Somebody asked yesterday how to alter gamma on GPP under Linux. Apparently, the menu option doesn't work. I googled somewhere that it can be done by the
xgamma command line tool. For example
xgamma -gamma 1.7
and setting it back to normal:
xgamma -gamma 1
It changes the whole Xorg system though, so all applications are affected.
One can use a simple shell script to start GPP with altered gamma:
#!/bin/sh
xgamma -gamma 1.7 # alter the value to your needs
trap "xgamma -gamma 1" EXIT
# change the path to your tremgpp installatin
~/game/tremulous/tremulous-gpp.x86 "$@"
I found some other tools that possibly allow to change brightness and contrast:
DDCcontrol,
xvattr, but they don't work for me (depends on a graphics chip/driver I suppose). If you have better luck, let others know.
And there is also another program
Redshift that alters automatically perceived display color depending on current daytime. Can help strained eyes if playing/working too long.
Update: I found out that gamma can be also corrected by the
xrandr tool. It allows to change both gamma and brightness. First query your configuration by
xrandr --query
and then alter the parameters for your selected output (mine is LVDS):
xrandr --output LVDS --gamma 0.5:0.5:0.5 --brightness 1.5
and set it back
xrandr --output LVDS --gamma 1:1:1 --brightness 1
The brightness correction is only software based, as the documentation says:
However, this is a software only modification, if your hardware has support to actually change the brightness, you will probably prefer to use xbacklight.