XGAMMA(1)
โจ XGAMMA(1) โจ
okay so bestie, welcome to the xgamma page ๐ this one's from X Version 11 and honestly? it's giving retro vibes but also a little "why is this still here" energy. let's get into it ๐
๐ธ NAME ๐ธ
xgamma โ alter a monitor's gamma correction through the X server, no cap
๐ฆ SYNOPSIS ๐ฆ
xgamma [-display display] [-screen screen] [-quiet] [-help|-version]
[-gamma f.f | [[-rgamma f.f] [-ggamma f.f] [-bgamma f.f]]]
like, that's the whole vibe. flags on flags on flags ๐
๐ DESCRIPTION ๐
so xgamma lets X users query and alter the gamma correction of a monitor, and it does this via the X video mode extension, aka the XFree86-VidModeExtension. iconic name, i know โจ
โ ๏ธ okay important heads up bestie: thexgammautility is obsolete and deficient. like, it's not the main character anymore ๐ญ you should usexrandr(1)with drivers that support the XRandr extension instead. fr fr.
and here's the cute part: if you don't give it any gamma correction value via the -gamma or -rgamma/-ggamma/-bgamma options, xgamma just prints the current gamma correction of the display. like a little vibe check for your monitor ๐ซถ
๐ OPTIONS ๐
-displaydisplay โ lets you specify the server to connect to; seeX(7)for the deets ๐-screenscreen โ when multiple displays are configured as a single logical display, this lets you pick which screen you wanna change. choose your fighter ๐-quietโ shuts up the normal output ofxgamma. silence is golden, periodt ๐-helpโ prints out theUsage:command syntax summary. a little cheat sheet, we love that-versionโ prints out the program version and dips. bye bestie ๐-gammaf.f โ the gamma correction can be defined as a single value, OR separately for the red, green and blue components. this one specifies it as a single value โญ-rgammaf.f โ specifies the red component of the gamma correction ๐ฅ-ggammaf.f โ specifies the green component of the gamma correction ๐ฟ-bgammaf.f โ specifies the blue component of the gamma correction ๐ฆ
๐ง ENVIRONMENT ๐ง
DISPLAYโ to get default host and display number. it's giving "where am i supposed to be" energy ๐ธ
๐ BUGS ๐
okay so not everything is slay here, listen up:
- this client changes the internal values of the gamma correction for the Xserver. whether or not these values are actually respected depends on the video drivers. so like, no promises bestie ๐
- the gamma values are passed to the Xserver with 3 decimal places of accuracy. that's it. that's the precision. don't come for me ๐ญ
๐ SEE ALSO ๐
๐ AUTHORS ๐
- Kaleb S. Keithley, X Consortium.
- David Dawes, David Bateman
absolute legends, we stan ๐ซถ
and that's the whole thing bestie!! this page is literally xgamma 1.0.8 and it was last touched on 2014-05-24 โ yeah, it's been a minute ๐ but the info is still here, preserved like a little time capsule ๐ go forth and fix your gamma, and remember: xrandr is the moment now, iykyk โจ๐
๐ฆ where this page comes from
- alpine 3.24: xgamma-doc 1.0.8-r0 ยท custom
- arch rolling: xorg-xgamma 1.0.8-1 ยท custom
- fedora 43: xgamma 1.0.8-1.fc43 ยท X11 AND HPND-sell-variant
- fedora 44: xgamma 1.0.8-2.fc44 ยท X11 AND HPND-sell-variant
- nixos 26.05: xgamma 1.0.8
- nixpkgs unstable: xgamma 1.0.8
- Copyright 1999 by The XFree86 Project, Inc
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms