xterm geometry option 

Joined:
04/07/2009
Posts:
135

February 07, 2010 04:59:36    Last update: February 07, 2010 05:01:41
From X(7) manual page:
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 preferred size and location for this application's main window.

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 corresponding edge of the window.

From Running Linux:
Note that xterm measures the size of the window in characters, not pixels.
Share |
| Comment  | Tags