Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

xgamma (1)

Name

xgamma - Alter a monitor's gamma correction through the X server

Synopsis

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

Description

xgamma(1)                   General Commands Manual                  xgamma(1)



NAME
       xgamma - Alter a monitor's gamma correction through the X server

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

DESCRIPTION
       xgamma allows X users to query and alter the gamma correction of a mon-
       itor via the X video mode extension (XFree86-VidModeExtension).

       Note  that  the xgamma utility is obsolete and deficient, xrandr should
       be used with drivers that support the XRandr extension.

       If no value for the  gamma  correction  is  given  via  the  -gamma  or
       -rgamma/-ggamma/-bgamma  options,  xgamma prints the current gamma cor-
       rection of the display.

OPTIONS
       -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 dis-
               play, 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.

       -version
               Print out the program version and exit.

       -gamma f.f
               The  gamma  correction can either be defined as a single value,
               or separately for the red,  green  and  blue  components.  This
               argument specifies the gamma correction as a single value.

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

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

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

ENVIRONMENT
       DISPLAY To get default host and display number.

BUGS
       This client changes the internal values of the gamma correction for the
       Xserver. Whether or not these values are respected depends on the video
       drivers.

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


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+--------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE      |
       +---------------+--------------------------+
       |Availability   | x11/x11-server-utilities |
       +---------------+--------------------------+
       |Stability      | Volatile                 |
       +---------------+--------------------------+

SEE ALSO
       xvidtune(1), xrandr(1)

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



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source   was   downloaded  from   ['https://www.x.org/releases/individ-
       ual/app/xhost-1.0.8.tar.bz2',      'https://www.x.org/releases/individ-
       ual/app/xrefresh-1.0.6.tar.bz2',   'https://www.x.org/releases/individ-
       ual/app/xinput-1.6.3.tar.bz2',     'https://www.x.org/releases/individ-
       ual/app/rgb-1.0.6.tar.bz2',        'https://www.x.org/releases/individ-
       ual/app/xset-1.2.4.tar.bz2',       'https://www.x.org/releases/individ-
       ual/app/xsetroot-1.1.2.tar.bz2',   'https://www.x.org/releases/individ-
       ual/app/xrdb-1.2.1.tar.bz2',       'https://www.x.org/releases/individ-
       ual/app/xrandr-1.5.1.tar.gz',      'https://www.x.org/releases/individ-
       ual/app/xmodmap-1.0.10.tar.bz2',   'https://www.x.org/releases/individ-
       ual/app/xprop-1.2.5.tar.bz2',      'https://www.x.org/releases/individ-
       ual/app/xgamma-1.0.6.tar.bz2',     'https://www.x.org/releases/individ-
       ual/app/xcmsdb-1.0.5.tar.bz2'].

       Further information about this software can be found on the open source
       community website at https://www.x.org.



X Version 11                     xgamma 1.0.6                        xgamma(1)