| 1 |
.\" Copyright 1999 by The XFree86 Project, Inc. |
| 2 |
.\" |
| 3 |
.\" All Rights Reserved. |
| 4 |
.\" |
| 5 |
.\" The above copyright notice and this permission notice shall be included |
| 6 |
.\" in all copies or substantial portions of the Software. |
| 7 |
.\" |
| 8 |
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 9 |
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 10 |
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 11 |
.\" IN NO EVENT SHALL THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 12 |
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 13 |
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 14 |
.\" OTHER DEALINGS IN THE SOFTWARE. |
| 15 |
.\" |
| 16 |
.\" Except as contained in this notice, the name of The XFree86 Project shall |
| 17 |
.\" not be used in advertising or otherwise to promote the sale, use or |
| 18 |
.\" other dealings in this Software without prior written authorization |
| 19 |
.\" from The XFree86 Project. |
| 20 |
.\" |
| 21 |
.TH xgamma 1 "xgamma 1.0.7" "X Version 11" |
| 22 |
.SH NAME |
| 23 |
xgamma - Alter a monitor's gamma correction through the X server |
| 24 |
.SH SYNOPSIS |
| 25 |
.B "xgamma" |
| 26 |
[-display \fIdisplay\fP] [-screen \fIscreen\fP] [-quiet] [-version] |
| 27 |
[-gamma f.f | [[-rgamma f.f] [-ggamma f.f] [-bgamma f.f]]] |
| 28 |
.SH DESCRIPTION |
| 29 |
.PP |
| 30 |
.B xgamma |
| 31 |
allows X users to query and alter the gamma correction of a monitor via |
| 32 |
the X video mode extension (XFree86-VidModeExtension). |
| 33 |
.PP |
| 34 |
Note that the \fBxgamma\fP utility is obsolete and deficient, \fBxrandr\fP |
| 35 |
should be used with drivers that support the \fBXRandr\fP extension. |
| 36 |
.PP |
| 37 |
If no value for the gamma correction is given via the |
| 38 |
.I -gamma |
| 39 |
or |
| 40 |
.IR -rgamma / -ggamma / -bgamma |
| 41 |
options, |
| 42 |
.B xgamma |
| 43 |
prints the current gamma correction of the display. |
| 44 |
.SH OPTIONS |
| 45 |
.PP |
| 46 |
.TP 8 |
| 47 |
.B "-display \fIdisplay\fP" |
| 48 |
This argument allows you to specify the server to connect to; see \fIX(7)\fP. |
| 49 |
.PP |
| 50 |
.TP 8 |
| 51 |
.B "-screen \fIscreen\fP" |
| 52 |
When multiple displays are configured as a single logical display, this option |
| 53 |
allows you to select the screen you wish to change. |
| 54 |
.PP |
| 55 |
.TP 8 |
| 56 |
.B "-quiet" |
| 57 |
Silence the normal output of |
| 58 |
.B xgamma |
| 59 |
.PP |
| 60 |
.TP 8 |
| 61 |
.B "-help" |
| 62 |
Print out the `Usage:' command syntax summary. |
| 63 |
.PP |
| 64 |
.TP 8 |
| 65 |
.B "-version" |
| 66 |
Print out the program version and exit. |
| 67 |
.PP |
| 68 |
.TP 8 |
| 69 |
.B "-gamma f.f" |
| 70 |
The gamma correction can either be defined as a single value, or |
| 71 |
separately for the red, green and blue components. This argument |
| 72 |
specifies the gamma correction as a single value. |
| 73 |
.PP |
| 74 |
.TP 8 |
| 75 |
.B "-rgamma f.f" |
| 76 |
This argument specifies the red component of the gamma correction. |
| 77 |
.PP |
| 78 |
.TP 8 |
| 79 |
.B "-ggamma f.f" |
| 80 |
This argument specifies the green component of the gamma correction. |
| 81 |
.PP |
| 82 |
.TP 8 |
| 83 |
.B "-bgamma f.f" |
| 84 |
This argument specifies the blue component of the gamma correction. |
| 85 |
.SH ENVIRONMENT |
| 86 |
.PP |
| 87 |
.TP 8 |
| 88 |
.B DISPLAY |
| 89 |
To get default host and display number. |
| 90 |
.SH BUGS |
| 91 |
.PP |
| 92 |
This client changes the internal values of the gamma correction for the |
| 93 |
Xserver. Whether or not these values are respected depends on the video |
| 94 |
drivers. |
| 95 |
.PP |
| 96 |
The gamma values are passed to the Xserver with 3 decimal places of |
| 97 |
accuracy. |
| 98 |
.SH SEE ALSO |
| 99 |
xvidtune(1), |
| 100 |
xrandr(1) |
| 101 |
.SH AUTHORS |
| 102 |
Kaleb S. Keithley, X Consortium. |
| 103 |
.br |
| 104 |
David Dawes, David Bateman |