The size and position of a window
The geometry of a window describes its size and position.
Classical X11 applications can have their geometry customized via X resources, either specified with the -geom or -geometry command line option or in the X11 resources loaded by xrdb. The syntax of a geometry specification is WWWxHHH±XXX±YYY where
- WWW and HHH are the window width and height;
- XXX and YYY are the windows's horizontal and vertical position.
The sign + or - before each position number indicates the window's gravity. For the horizontal position, + means that the number is the position of the window's left edge from the left of the screen; if the window or the screen is resized, the offset from the left of the screen will remain constant. A - sign similarly means that the number is the position of the window's right edge from the right of the screen. For the vertical position, + counts from the top and - counts from the bottom.
For example, the geometry 1000x800+0-0 indicates a window 1000 pixels wide and 800 pixels tall located in the bottom left corner of the screen.