• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: geometry question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: geometry question


  • Subject: Re: geometry question
  • From: "Thomas 'Tom' R. Treadway III" <email@hidden>
  • Date: Tue, 21 Jan 2003 19:08:40 -0800

man 7 X
 . . .
GEOMETRY SPECIFICATIONS
       One of the advantages of using window systems  instead  of
       hardwired  terminals is that applications don't have to be
       restricted to a particular size or location on the screen.
       Although  the layout of windows on a display is controlled
       by the window manager that the user is running  (described
       below),  most X programs accept a command line argument of
       the form -geometry  WIDTHxHEIGHT+XOFF+YOFF  (where  WIDTH,
       HEIGHT,  XOFF, and YOFF are numbers) for specifying a pre-
       ferred size and location for this application's main  win-
       dow.

       The  WIDTH  and HEIGHT parts of the geometry specification
       are usually  measured  in  either  pixels  or  characters,
       depending on the application.  The XOFF and YOFF parts are
       measured in pixels and are used to specify the distance of
       the window from the left or right and top and bottom edges
       of the screen, respectively.  Both types  of  offsets  are
       measured from the indicated edge of the screen to the cor-
       responding edge of the window.  The X offset may be speci-
       fied in the following ways:

       +XOFF   The  left  edge of the window is to be placed XOFF
               pixels in from the left edge of the screen  (i.e.,
               the  X  coordinate  of the window's origin will be
               XOFF).  XOFF may be negative, in  which  case  the
               window's left edge will be off the screen.

      -XOFF   The  right edge of the window is to be placed XOFF
               pixels in from the right edge of the screen.  XOFF
               may  be negative, in which case the window's right
               edge will be off the screen.

       The Y offset has similar meanings:

       +YOFF   The top edge of the window is to  be  YOFF  pixels
               below  the  top  edge  of  the screen (i.e., the Y
               coordinate of the window's origin will  be  YOFF).
               YOFF  may  be negative, in which case the window's
               top edge will be off the screen.

       -YOFF   The bottom edge of the window is to be YOFF pixels
               above  the bottom edge of the screen.  YOFF may be
               negative, in which case the window's  bottom  edge
               will be off the screen.

       Offsets  must  be given as pairs; in other words, in order
       to specify either XOFF or YOFF both must be present.  Win-
       dows can be placed in the four corners of the screen using
       the following specifications:

       +0+0    upper left hand corner.

       -0+0    upper right hand corner.

       -0-0    lower right hand corner.

       +0-0    lower left hand corner.

       In the following examples, a terminal emulator  is  placed
       in  roughly  the  center  of the screen and a load average
       monitor, mailbox, and clock are placed in the upper  right
       hand corner:

           xterm -fn 6x10 -geometry 80x24+30+200 &
           xclock -geometry 48x48-0+0 &
           xload -geometry 48x48-96+0 &
           xbiff -geometry 48x48-48+0 &

 . . .

  trt

Where is the man page for geometry as applied to X11?

-geometry 80x66+100+200

Are the units pixels? 80x66 is tiny. Or are they character counts in some font? What font? If so, 100 and 200 seem like unreasonably large offsets.

Where is the zero point? 0,0 in the Mac gWorld? Or perhaps the most negative values in the bounding rectangle of gWorld? Is positive Y downward as in Inside Macintosh? Is the upper left corner of the Mac menubar still at 0,0 ?

Deep down my problem is that windows are opening out of reach above my left monitor and to the left of my upper monitor which sits above the main one. There's no display space there! I need a way to tell the ssh'd Linux box to bring up gnumeric on a particular monitor and not to spread it over all four so that I can't reach either the grow box or the drag bar.

--

--> The U. S. Census Bureau missed a bet by not counting all of those embryos in cold storage. <--
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.



--
Thomas R. Treadway
Computer Scientist
Lawrence Livermore Nat'l Lab
7000 East Avenue, L-365
Livermore, CA 94550-0611
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.

References: 
 >geometry question (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: geometry question
  • Next by Date: oracle developer and quartz-wm
  • Previous by thread: Re: geometry question
  • Next by thread: Re: geometry question - Terminal
  • Index(es):
    • Date
    • Thread