Gamma correction ?

Please post all general support questions for LXDE here.
Locked
duddy67
Posts: 13
Joined: Thu May 06, 2010 9:52 am

Gamma correction ?

Post 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
Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: Gamma correction ?

Post 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.
duddy67
Posts: 13
Joined: Thu May 06, 2010 9:52 am

Re: Gamma correction ?

Post by duddy67 »

Thanks for this quick response. ;)
But how can I set gamma with xrandr ?
Is there any file as xconf.org ?
Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: Gamma correction ?

Post 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.
duddy67
Posts: 13
Joined: Thu May 06, 2010 9:52 am

Re: Gamma correction ?

Post 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 ?
Locked