I purchased a second hand computer recently, an old Thinkpad X280, which is perfectly fine for most all of my needs. Only problem is the screen is awful.
In an effort to slightly modify the contrast I found that there is a command in Linux under X11 (x-server is the traditional image renderer in Linux, so this may not work if your distro is using the new Wayland compositor). The command is xgamma.
Example:
~$xgamma -gamma 0.7
The above will reduce the gamma of the screen by 30% according to the X11 compositor. To make the changes stick, one can update the hidden file .profile in his/her home directory with the following:
xgamma -gamma 0.7 &> /dev/null
The &> /dev/null basically captures any would be output that results from the setting and throws it to /dev/null - basically throws it away. This is useful because otherwise there is an annoying "Okay to proceed" notice when first booting the system.
Just another find which is available if not obvious in Linux!
Reference:
https://linux.die.net/man/1/xgamma
https://forums.linuxmint.com/viewtopic.php?t=334249
No comments:
Post a Comment