DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

xcmsdb(XC)


xcmsdb -- Xlib screen color characterization data utility

Syntax

xcmsdb [-option . . .] [filename]

Description

xcmsdb is used to load, query, or remove Screen Color Characterization Data stored in properties on the Root window of the screen. Screen Color Characterization Data is an integral part of Xlib, necessary for proper conversion between device-independent and device-dependent color specifications. Xlib uses the XDCCC_LINEAR_RGB_MATRICES and XDCCC_LINEAR_RGB_CORRECTION properties to store color characterization data for color monitors. It uses XDCCC_GRAY_SCREENWWHITEPOINT and XDCCC_GRAY_CORRECTION properties for gray scale monitors.

Because Xlib allows the addition of Screen Color Characterization Function Sets, added function sets may place their Screen Color Characterization Data on other properties. This utility is unaware of these other properties. Therefore, you will need to use a similar utility provided with the function set, or use the xprop utility.

The ASCII contents of filename (or the standard input if no input file is given) are appropriately transformed for storage in properties, provided the -query or -remove options are not specified.

Options

The xcmsdb program accepts the following options:


-query
This option attempts to read the XDCCC properties off the screen's Root window. If successful, it transforms the data into a more readable format, then sends the data to standard out.

-remove
This option attempts to remove the XDCCC properties on the screen's Root window.

-color
This option sets the query and remove options to only check for the XDCCC_LINEAR_RGB_MATRICES and XDCCC_LINEAR_RGB_CORRECTION properties. If the -color option is not set, then the query and remove options check for all the properties.

-format (32 | 16 | 8)
Specifies the property format (32, 16, or 8 bits per entry) for the XDCCC_LINEAR_RGB_CORRECTION property. Precision of encoded floating point values increases with the increase in bits per entry. The default is 32 bits per entry.

Environment variables


DISPLAY
to figure out which display and screen to use

See also

xprop(XC)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003