[PATCH] Document that xgamma is useless on XRandr screens

Alex Deucher alexdeucher at gmail.com
Sun Mar 13 17:54:19 PDT 2011


On Sun, Mar 13, 2011 at 7:43 PM, Michal Suchanek <hramrach at centrum.cz> wrote:
> Hello,
>
> xgamma looks like the logical utility to set gamma but cannot be used
> on displays with multiple monitors.
>
> Document that xrandr should be used to set gamma.
>

Looks good to me.

Reviewed-by: Alex Deucher <alexdeucher at gmail.com>

> Thanks
>
> Michal
>
> ---
>  man/xgamma.man |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/man/xgamma.man b/man/xgamma.man
> index 0216e40..d6662f7 100644
> --- a/man/xgamma.man
> +++ b/man/xgamma.man
> @@ -31,6 +31,9 @@ xgamma - Alter a monitor's gamma correction through
> the X server
>  allows X users to query and alter the gamma correction of a monitor via
>  the X video mode extension (XFree86-VidModeExtension).
>  .PP
> +Note that the \fBxgamma\fP utility is obsolete and deficient, \fBxrandr\fP
> +should be used with drivers that support the \fBXRandr\fP extension.
> +.PP
>  If no value for the gamma correction is given via the
>  .I -gamma
>  or
> @@ -89,7 +92,8 @@ drivers.
>  The gamma values are passed to the Xserver with 3 decimal places of
>  accuracy.
>  .SH SEE ALSO
> -xvidtune(__appmansuffix__)
> +xvidtune(__appmansuffix__),
> +xrandr(__appmansuffix__)
>  .SH AUTHORS
>  Kaleb S. Keithley, X Consortium.
>  .br
> --
> 1.7.4.1
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>


More information about the xorg-devel mailing list