Linux Commands Examples

A great documentation place for Linux commands


X standard colormap utility

see also : X


xstdcmap [-all] [-best] [-blue] [-default] [-delete map] [-display display] [-gray] [-green] [-help] [-red] [-verbose]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


packages="appres bdftopcf bitmap constype editres fonttosfnt fstobdf iceauth ico luit xfs xfsinfo xgamma xhost xinit xinput xkbcomp xkbevd xkbprint xkbutils xkill xload xlsatoms xlsclients xlsfonts xmodmap xrandr xrdb xrefresh xset xsetpointer xsetroot xsm xstdcmap xvidtune xvinfo xwd xwininfo xwud xdpyinfo"
# build packages
for package in $packages


The xstdcmap utility can be used to selectively define standard colormap properties. It is intended to be run from a user’s X startup script to create standard colormap definitions in order to facilitate sharing of scarce colormap resources among clients. Where at all possible, colormaps are created with read-only allocations.


The following options may be used with xstdcmap:


This option indicates that all six standard colormap properties should be defined on each screen of the display. Not all screens will support visuals under which all six standard colormap properties are meaningful. xstdcmap will determine the best allocations and visuals for the colormap properties of a screen. Any previously existing standard colormap properties will be replaced.


This option indicates that the RGB_BEST_MAP should be defined.


This option indicates that the RGB_BLUE_MAP should be defined.


This option indicates that the RGB_DEFAULT_MAP should be defined.

-delete map

This option specifies that a specific standard colormap property, or all such properties, should be removed. map may be one of: default, best, red, green, blue, gray, or all.

-display display

This option specifies the host and display to use; see X(7).


This option indicates that the RGB_GRAY_MAP should be defined.


This option indicates that the RGB_GREEN_MAP should be defined.


This option indicates that a brief description of the command line arguments should be printed on the standard error. This will be done whenever an unhandled argument is given to xstdcmap.


This option indicates that the RGB_RED_MAP should be defined.


This option indicates that xstdcmap should print logging information as it parses its input and defines the standard colormap properties.


to get default host and display number.


see also



Donna Converse, MIT X Consortium

How can this site be more helpful to YOU ?

give  feedback