[oclug] Newbie installs XFree86 4.0.2 and ...
quarrington.robinson at sympatico.ca
Fri Feb 23 21:19:01 EST 2001
Dave Edwards wrote:
> On Fri, 23 Feb 2001, DaveR wrote:
> > exec xterm -geometry 80x66+0+0 -name login
> > Where in Linux is the entity "-geometry" defined? Couldn't relate what I
> > was seeing to the "geometry numbers".
> Often the first two numbers in geometry refer to columns
> and rows in which the cursor moves, as in your xterm above. The latter
> two are the placement of the upper-left corner of the window on the
> screen, in terms of pixels, here 0 pixels along, 0 pixels down.
---- munch ----
I think it's something like that:
"xclock -geometry 50x50-1+1 &" put a tiny clock in the top right-hand
corner of the screen (is the "-1" "magic"?)
"exec xterm -geometry 80x66+0+0 -name login" puts an xterm window along
the left-hand side of the screen.
I was guessing that the first two numbers were proportional to the
window's vertical size, and horizontal size, and the last two were
related to the positioning (x,y) of the top left corner of the window.
"xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &" put two xterms, in a vertical line
immediately to the right of (abutting) the "80x66+0+0" xterm window.
However, it got even less intuitive with the next three (SWAG numbers I
threw in, not really understanding the -geometry):
netscape -geometry 80x80+1+1 &
xcalc -geometry 80x50+494+51 &
xfm -geometry 80x50+494+51 &
because they didn't seem to follow the "rules".
Thanks for your time Dave, and for the moment, since I'm not using twm,
and might try one of the other "lean" window-managers, I'm going to let
the loose end drag. So many questions, so little time ...
David G. Robinson
Ottawa, ON, Canada
More information about the OCLUG