MirBSD manpage: xgamma(1)

xgamma(1)           UNIX Programmer's Manual            xgamma(1)


     xgamma - Alter a monitor's gamma correction for XFree86


     xgamma [-display display] [-screen screen] [-quiet] [-gamma
     f.f | [[-rgamma f.f] [-ggamma f.f] [-bgamma f.f]]]


     xgamma allows X users to query and alter the gamma correc-
     tion of a monitor via the XFree86 X server video mode exten-
     sion (XFree86-VidModeExtension).


     -display display
             This argument allows you to specify the server to
             connect to; see X(7).

     -screen screen
             When multiple displays are configured as a single
             logical display, this option allows you to select
             the screen you wish to change.

     -quiet  Silence the normal output of xgamma

     -help   Print out the `Usage:' command syntax summary.

     -gamma f.f
             The gamma correction can either be defined as a sin-
             gle value, or separately for the red, green and blue
             components. This argument specifies the gamma
             correction as a single value. If no value for the
             gamma correction is given xgamma returns the current
             gamma correction of the display.

     -rgamma f.f
             This argument specifies the red component of the
             gamma correction.

     -ggamma f.f
             This argument specifies the green component of the
             gamma correction.

     -bgamma f.f
             This argument specifies the blue component of the
             gamma correction.


     DISPLAY To get default host and display number.


     This client changes the internal values of the gamma correc-
     tion for the Xserver. Whether or not these values are

XFree86                   Version 4.5.0                         1

xgamma(1)           UNIX Programmer's Manual            xgamma(1)

     respected depends on the video drivers.

     The gamma values are passed to the Xserver with 3 decimal
     places of accuracy.




     Kaleb S. Keithley, X Consortium.
     David Dawes, David Bateman

XFree86                   Version 4.5.0                         2

Generated on 2021-12-07 11:07:08 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.