Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ora!adrian From: adrian@ora.com (Adrian Nye) Newsgroups: comp.windows.x Subject: Re: Problems with standard colormaps Keywords: XGetRGBColormaps Message-ID: <1991Jun11.170139.20588@ora.com> Date: 11 Jun 91 17:01:39 GMT Organization: O'Reilly and Associates Inc., Cambridge MA Lines: 15 > I have read the FAQ and used xstdcmap as mentioned, but to no avail. > Besides, my application is ready to create the requested colormap if > it does not exist, but it is unable to locate the XA_RGB_GRAY_MAP > property via XGetRGBColormaps. xstdcmap is supposed to define the standard colormap properties such as XA_RGB_GRAY_MAP. If you have run it, and the property still isn't defined, then xstdcmap may be broken. It also could be that your server does not expose a gray-scale visual, so xstdcmap does not try to define this property. xstdcmap also fails on my system, and I haven't delved in yet to figure out why. You can use xprop to help you make sure the property isn't there (or is).