Page 1 of 1

Gamma correction ?

Posted: Thu May 06, 2010 9:59 am
by duddy67
Hi all,

I installed Ubuntu 10.04 (server version), then xorg then LXDE.
Everything is ok but the gamma level is too high.
I'd like to set it as I want to but how can I do that ?


Thanks

Re: Gamma correction ?

Posted: Thu May 06, 2010 10:02 am
by Marty Jack
The xrandr program, which comes from X.org, provides this control. After you determine the xrandr command that does what you want, you can add it to /etc/xdg/lxsession/LXDE/autostart to have it done every time you log in.

Re: Gamma correction ?

Posted: Thu May 06, 2010 10:13 am
by duddy67
Thanks for this quick response. ;)
But how can I set gamma with xrandr ?
Is there any file as xconf.org ?

Re: Gamma correction ?

Posted: Thu May 06, 2010 12:11 pm
by Marty Jack
man xrandr gives you the full explanation of xrandr. There appears to be a --gamma switch, although I have not tried it myself.

No, this would not be preserved in a configuration file. That is why I suggested you put a command in your autostart to set it.

Re: Gamma correction ?

Posted: Thu May 06, 2010 6:27 pm
by duddy67
Thanks.

This is what it works for my pc:

Code: Select all

xrandr --output DVI-1 --gamma 1.5:1.5:1.5

I also like to know if it possible to set
contrast with xrandr ?