2

Good time of day everyone!

I'm facing this problem with my Ubuntu 12.04.1 and a new ViewSonic monitor. The trouble is that the monitor has it's default gamma value set too high and there is no way I can adjust it by monitor hardware controls.

So far I've been using the xgamma -gamma .75 command to get a comfortable picture. The problem is that after the system is locked or after I go to the "Switch User" menu gamma is reset back to 1.0 level. What can I do to adjust it once and for all?

UPD: I tried to use lprof to create a new *.icm and to load it with gnome-color-manager, but I don't see any difference between the new and the default one. I don't even know if the profile had been applied correctly.

svz
  • 183

1 Answers1

0

Generally, the solution for situations that include an unwanted "is reset back to" is to dig around for whichever configuration file controls the default it's resetting to.

In the case of xgamma, that would be /etc/X11/xorg.conf (which has defaulted to empty/missing since they finally got autodetection figured out), so you want to:

  1. Generate a suitable xorg.conf (eg. using nvidia-settings's support for saving the current settings into an xorg.conf or by following the instructions on Archwiki)
  2. Following the syntax described in the xorg.conf manpage, add a Gamma line to the Monitor section.

(Instead of pinning down everything like they used to, modern xorg.conf files are structured as "When you see hardware matching details X, override autodetected setting Y".)

ssokolow
  • 1,127