1xgamma(1) General Commands Manual xgamma(1)
2
3
4
6 xgamma - Alter a monitor's gamma correction through the X server
7
9 xgamma [-display display] [-screen screen] [-quiet] [-version] [-gamma
10 f.f | [[-rgamma f.f] [-ggamma f.f] [-bgamma f.f]]]
11
13 xgamma allows X users to query and alter the gamma correction of a mon‐
14 itor via the X video mode extension (XFree86-VidModeExtension).
15
16 Note that the xgamma utility is obsolete and deficient, xrandr should
17 be used with drivers that support the XRandr extension.
18
19 If no value for the gamma correction is given via the -gamma or
20 -rgamma/-ggamma/-bgamma options, xgamma prints the current gamma cor‐
21 rection of the display.
22
24 -display display
25 This argument allows you to specify the server to connect to;
26 see X(7).
27
28 -screen screen
29 When multiple displays are configured as a single logical dis‐
30 play, this option allows you to select the screen you wish to
31 change.
32
33 -quiet Silence the normal output of xgamma
34
35 -help Print out the `Usage:' command syntax summary.
36
37 -version
38 Print out the program version and exit.
39
40 -gamma f.f
41 The gamma correction can either be defined as a single value,
42 or separately for the red, green and blue components. This ar‐
43 gument specifies the gamma correction as a single value.
44
45 -rgamma f.f
46 This argument specifies the red component of the gamma correc‐
47 tion.
48
49 -ggamma f.f
50 This argument specifies the green component of the gamma cor‐
51 rection.
52
53 -bgamma f.f
54 This argument specifies the blue component of the gamma correc‐
55 tion.
56
58 DISPLAY To get default host and display number.
59
61 This client changes the internal values of the gamma correction for the
62 Xserver. Whether or not these values are respected depends on the video
63 drivers.
64
65 The gamma values are passed to the Xserver with 3 decimal places of ac‐
66 curacy.
67
69 xvidtune(1), xrandr(1)
70
72 Kaleb S. Keithley, X Consortium.
73 David Dawes, David Bateman
74
75
76
77X Version 11 xgamma 1.0.7 xgamma(1)