Linux Colour Display problems [message #37398] |
Sun, 14 December 2003 14:17  |
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  |
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.
>
|
|
|