Question

Heiko Berges hb-mlist+xfce at bsls.de
Sun Dec 1 18:36:14 CET 2002


On Sun, Dec 01, 2002 at 10:55:47AM -0500, Richard Beri wrote:

> Yes, when I log out and leave everything running and log back in all the 
> programs go to 0,0 (where I left them).  But when I close them and 
> reopen them they open wherever they like (close to 0,0) but not quite. 
> 
> I'm picky about this because I have my gkrellm on the top right and I 
> don't like it covered up!
> 
> Isn't there a --geometry switch on programs that tells them at what 
> position to open?  I remember netscape had one, but I do a mozilla 
> --help and it doesn't tell me much.


Every program linked against xlib has an -geometry option. (Please
see  man X  for more)  The GNU people insist on using their 'long 
options', so for gtk-programs you have to use --geometry.  Except 
when the author decides to overwrite this, as in (for example) xftree ,
which uses single letter options, or in mozilla.

The canonical solution would be to register the default positions in
your .Xdefault file, but I have no idea if this works for gtk-applications.

In my opinion default positions managed by the wm doesn't sound like
a good idea.  I usually have several xterms open and would not want
them all in the same place. YMMV.

Personally, I would prefer smart-placement - interactive-placement, as
in fvwm, but this wouldn't be very CDE-ish.


	Heiko



More information about the Xfce mailing list