Re: Linux Colour Display problems [message #37395] |
Mon, 15 December 2003 02:08  |
Paolo Grigis
Messages: 171 Registered: December 2003
|
Senior Member |
|
|
We had the same problem with 5.5 on linux.
Try using truecolor instead of directcolor
visuals:
device,true_color=24
It solved the problem for us...
Cheers,
Paolo
"Karthikayan B." wrote:
>
> 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.
--
____________________________________________________________ ________
Paolo Grigis
ETHZ - Institute of Astronomy email: pgrigis@astro.phys.ethz.ch
Scheuchzerstrasse 7
ETH Zentrum phone: ++41 1 632 42 20
8092 Zurich fax : ++41 1 632 12 05
Switzerland http://www.astro.phys.ethz.ch/
____________________________________________________________ ________
|
|
|
Re: Linux Colour Display problems [message #37465 is a reply to message #37395] |
Tue, 16 December 2003 12:48  |
Michael Wallace
Messages: 409 Registered: December 2003
|
Senior Member |
|
|
> 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.
|
|
|