Subject: Re: CVS olicha: * Implemented a new color limit method - how to detect xstdcmap colormaps

From: Dan Espen <[email-masked]>
Date: Fri, 09 Aug 2002 17:27:05 -0400

Tim Phipps <[email-masked]> writes:
> It could be that Oliviers Xserver has standard colormaps created on it 
> (by some startup script). They are created by xstdcmap I think, I'm not 
> sure how to query the server for them
...

xstdcmap colormaps can be detected with "xprop":

This is on Solaris 8, XFree 3.3.6 is similar:

fork> xstdcmap
usage:  xstdcmap [-options]

where options include:
    -all               make all standard colormaps for the display
    -best              make the RGB_BEST_MAP
    -blue              make the RGB_BLUE_MAP
    -default           make the RGB_DEFAULT_MAP
    -delete name       remove a standard colormap
    -display dpy       X server to use
    -gray              make the RGB_GRAY_MAP
    -green             make the RGB_GREEN_MAP
    -red               make the RGB_RED_MAP
    -verbose           turn on logging

fork> xstdcmap -best               
fork> xprop -root | grep -i COLOR_MAP
RGB_BEST_MAP(RGB_COLOR_MAP):
fork>                                          
fork> xstdcmap -delete best        
fork> xprop -root | grep -i COLOR_MAP
fork>

-- 
Dan Espen                           E-mail: [email-masked]
444 Hoes Lane  Room RRC 1C-214      Phone: (732) 699-5570
Piscataway, NJ 08854
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [email-masked].
To report problems, send mail to [email-masked]