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

Home » Public Forums » archive » Linux Colour Display problems
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
Linux Colour Display problems [message #37398] Sun, 14 December 2003 14:17 Go to next message
lovedale27 is currently offline  lovedale27
Messages: 7
Registered: November 2001
Junior Member
Hello All,
I am running IDL 5.5 on Debian Linux system (Kernel 2.4.22-1-686)
and when I have a display window, moving the mouse over the IDL
display window makes the entire screen change colours.
These are the first few lines of the programme which call the
colour table:

device, decomposed = 0, retain = 2
loadct, 13
...
tvscl,array

IDL> device,get_visual_depth=a
IDL> print,a
24

Thanks,
KB.
Re: Linux Colour Display problems [message #37446 is a reply to message #37398] Wed, 17 December 2003 09:04 Go to previous message
Karthik is currently offline  Karthik
Messages: 10
Registered: December 2003
Junior Member
Thanks, Mike and Paolo.
This fixed my problem.

Karthik.

Michael Wallace wrote:
>> Try using truecolor instead of directcolor
>> visuals:
>>
>> device,true_color=24
>>
>> It solved the problem for us...
>
>
> The above command is best for portability, but you can achieve the same
> thing by adding the following lines to your ~/.Xdefaults file or to the
> system wide $RSI_DIR/idl/resource/X11/lib/app-defaults/Idl file.
>
> Idl.gr_visual: TrueColor
> Idl.gr_depth: 24
>
> There are some more details here:
> http://www.rsinc.com/services/techtip.asp?ttid=1688
>
> Mike W.
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL and VI ; Color highlighting
Next Topic: Re: IDL and VI ; Color highlighting

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

Current Time: Wed Oct 08 15:17:58 PDT 2025

Total time taken to generate the page: 0.00555 seconds