XCMSDB(1)
๐ xcmsdb ๐
โจ NAME โจ
okay so the name is xcmsdb, and it's a Device Color Characterization utility for the X Color Management System ๐
๐ธ SYNOPSIS ๐ธ
xcmsdb [ -query ] [ -remove ] [ -format 32|16|8 ] [ -help ] [ -version ]
[ filename ]
๐ฆ DESCRIPTION ๐ฆ
okay bestie, so xcmsdb is how you load, query, or remove Device Color Characterization data. That data lives in properties on the root window of the screen, exactly like section 7, Device Color Characterization, of the ICCCM says ๐โจ
Device Color Characterization data (also called the Device Profile) is literally an integral part of Xlib's X Color Management System (Xcms) ๐ . Without it, colors can't get converted properly between device-independent and device-dependent forms. Main character energy for real ๐
Xcms uses 3x3 matrices stored in the XDCCC_LINEAR_RGB_MATRICES property to convert color specs between CIEXYZ and RGB Intensity (XcmsRGBi, also called linear RGB) ๐. Then it uses display gamma info stored in the XDCCC_LINEAR_RGB_CORRECTION property to convert between RGBi and RGB device (XcmsRGB, also called device RGB) ๐ซถ
Also, Xcms lets clients register function sets in addition to its built-in one for CRT color monitors ๐ฅ๏ธ. Those extra function sets can stash their device profile info in other properties, in their own function-set-specific format. Xcmsdb has no idea what those non-standard properties are, so it just doesn't touch them ๐
The ASCII readable contents of filename get transformed so they can be stored in properties ๐. If you don't give a file, it reads from standard input instead. This only happens when you're not using -query or -remove.
๐ OPTIONS ๐
xcmsdb program accepts the following options:
-queryโ tries to read the XDCCC properties off the screen's root window ๐. If it works, it makes the data more readable and sends it to standard out โจ-removeโ tries to remove the XDCCC properties on the screen's root window ๐๏ธ-format 32|16|8โ sets the property format (32, 16, or 8 bits per entry) for theXDCCC_LINEAR_RGB_CORRECTIONproperty ๐ฅ. The more bits per entry, the more precise the encoded floating point values get. Default is 32 bits per entry ๐-helpโ prints a summary of the available options and exits ๐ง-versionโ prints the program version and exits ๐ธ
๐ SEE ALSO ๐
xprop(1), Xlib documentation ๐
๐ ENVIRONMENT ๐
DISPLAYโ this is how it figures out which display and screen to use ๐
๐ AUTHOR ๐
Chuck Adams, Tektronix Inc. ๐ซถ Al Tabayoyon, SynChromatics Inc. (added multi-visual support) ๐
๐ฆ that's the whole tea, bestie ๐ this page is from X Version 11, the xcmsdb 1.0.7 release, and it's the XCMSDB(1) manual page ๐โจ love you, mean it ๐๐ซถ
๐ฆ where this page comes from
- alpine 3.24: xcmsdb-doc 1.0.7-r0 ยท custom
- arch rolling: xorg-xcmsdb 1.0.7-1 ยท MIT-open-group
- debian trixie: x11-xserver-utils 7.7+11
- nixos 26.05: xcmsdb 1.0.7
- nixpkgs unstable: xcmsdb 1.0.7
- opensuse-leap 16.0: xcmsdb 1.0.7-bp160.1.12 ยท MIT
- opensuse-leap 16.0: xcmsdb 1.0.7-bp160.1.12 ยท MIT
- opensuse-leap 16.0: xcmsdb 1.0.7-bp160.1.12 ยท MIT
- opensuse-leap 16.0: xcmsdb 1.0.7-bp160.1.12 ยท MIT
- ubuntu questing: x11-xserver-utils 7.7+11
- ubuntu resolute: x11-xserver-utils 7.7+11build1
- ubuntu stonking: x11-xserver-utils 7.7+11build1
- Copyright 1990, Tektronix Inc
- Copyright 1993, 1998 The Open Group
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms