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: the xgamma utility is obsolete and deficient. like, it's not the main character anymore ๐Ÿ˜ญ you should use xrandr(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 ๐Ÿ’…

  • -display display โ€” lets you specify the server to connect to; see X(7) for the deets ๐Ÿ‘€
  • -screen screen โ€” 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 of xgamma. silence is golden, periodt ๐Ÿ’€
  • -help โ€” prints out the Usage: command syntax summary. a little cheat sheet, we love that
  • -version โ€” prints out the program version and dips. bye bestie ๐Ÿ‘‹
  • -gamma f.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 โญ
  • -rgamma f.f โ€” specifies the red component of the gamma correction ๐Ÿ”ฅ
  • -ggamma f.f โ€” specifies the green component of the gamma correction ๐ŸŒฟ
  • -bgamma f.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 ๐Ÿ‘‘

xvidtune(1), xrandr(1)


๐ŸŒŸ 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