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

Home » Public Forums » archive » Re: How to display image on X root window?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to display image on X root window? [message #22491 is a reply to message #22489] Sat, 18 November 2000 23:34 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"David G. Grier" <grier@fafnir.uchicago.edu> writes:

> Hi Folks,
>
> Is there a straightfoward way to get IDL to display an image on the
> root window of an X display?
> I have something in mind along the lines of xloadimage -onroot
>
> Alternatively, is there a way to open an IDL window with no borders
> or title bar?

You can probably accomplish this by creating a window the exact size
of the display. Here is some code to do that:

IDL> device, get_screen_size=screenxy
IDL> window, 0, xsize=screenxy(0), ysize=screenxy(1)

On my Linux at least, the border is there, but appears off-screen, so
the full screen real-estate is taken by the IDL graphics window. Also
a user can move the window and resize it.

As for a way to open a window on another display, that may be
trickier. If you can, you should set the DISPLAY variable before
calling IDL. You might also try doing

setenv, 'DISPLAY=:0.1'

However when I tried this, a license error came up [ IDL thinks you
are trying to bypass the one-machine, one-license restriction.
Commercial software, harumph! ]

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Previous Topic: Re: filtering problem
Next Topic: Re: Mixing ASCII and Binary in files

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

Current Time: Sat Oct 11 13:50:08 PDT 2025

Total time taken to generate the page: 0.63780 seconds