View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

window position

Robert Janusz wrote on May 09, 2010

How to put a window in a fixed screen position (some kind of "geometry")?
I would like to have this possibility for
gkimos
and
display ... # r-key etc.
Thank you for any sugestion.

Mike Fitzpatrick wrote on May 09, 2010

XGterm/Xterm and XImtool/DS9 all take a '-geometry' flag that can be used to position a window on the screen. If you want to position the plot window of an XGterm you can use the '-G' flag or the '%<geom>' option (e.g. "xgterm %320x640+100+100").

Robert Janusz wrote on May 09, 2010

The situtation is like this:

I am in IRAF (ecl), I do
display img 1
imexam img 1

and the plot window appears in an uncontrolled position.
Then I do
gkimos archive

and the plot winodw appears also in an uncontrolled position.

I would like to set fixed the plot window position for both cases in a controlled way, as
!xgterm -geometry +0+300

Thank you for any help.

PS
setting geometry in imexam.graphics="xgterm -geometry..." does not help.

Mike Fitzpatrick wrote on May 09, 2010

Try starting the XGterm with either


xgterm -G +0+300        or        xgterm %+0+300


IRAF has no way to control the window positioning, this is all done in how you start the graphics/display applications (i.e. the xgterm or the ximtool window) outside of IRAF and before you login to the CL.

Last post on May 09, 2010