comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Strange Linux colors
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Strange Linux colors [message #19249] Wed, 01 March 2000 00:00 Go to next message
mpi is currently offline  mpi
Messages: 1
Registered: March 2000
Junior Member
Hi,

We've just installed a brand new version of PV-WAVE on our Suse-Linux
box. The applications which used to look really good on an rather old
SGI, now show up in these really psychedelic colors.

I suspect this is related to the visual classes provided by the
XServer, but am very unsure about what really should be done.

Any clues?

Mads

+----------------------------------------------------------- -------+
| Mads Ipsen | |
| Dept. of Physical Chemistry | phone: +49-30-8413 5300 |
| Fritz-Haber-Institut der MPG | fax: +49-30-8413 5106 |
| Faradayweg 4-6, 14195 Berlin, Germany | ipsen@fhi-berlin.mpg.de |
+----------------------------------------------------------- -------|
Re: Strange Linux colors [message #19502 is a reply to message #19249] Tue, 21 March 2000 00:00 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Udo Grabowski wrote:
>
> Hello !
>
> We have the same trouble with Idl, and (for direct graphics) it's
> a flaw of the fvwm window manager which does not handle private
> colormaps in widgets correctly. Get the newest fvwm2 release from
> www.fvwm.org, which has a patch for that problem. For object graphics,
> there currently is no way to get the correct colors on fvwm when a
> private colormap is needed, I currently try to get some ideas from
> a former developer of RSI for a patch. As a workaround, close all
> color sucking applications such as netscape, java applications etc.
> until enough colors are available (do a 'print,!d.n_colors' after
> launching an idl window do see how many are allocated). This will
> help in most cases. But you will have no chance if the application
> itself allocates a colormap with 256 entries, which always results
> in a private colormap. The only way to get out of that is to start
> the Xserver with 24 bit RGB color (modify /etc/XF86Config), which provides
> always enough colors to avoid a private colormap, but some other
> applications cannot handle that mode correctly, so expect to have to
> switch back from 24 to 8 bit sometimes. I don't know if the KDE manager
> does a better job on the colormaps.
> -



This trick may help,

window,0,color=256
wdelete,0


R.Bauer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: GUI Builder for Unix
Next Topic: Re: map_set, date line problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 13:26:39 PDT 2025

Total time taken to generate the page: 0.96108 seconds