The geometry of a window is its size and location. The syntax for geometry resources is:
{ Width×Height
±column±row
Width×Height±column±row }
Use a lower-case x for the times sign.
- Width
The width in characters (for terminal windows) or pixels (for other clients). For widths in characters, the window size depends on the font size.
- Height
The height of the window in lines (for terminal windows) or pixels (for other clients). The height of a terminal window depends on the font.
- column
The column location of the window in pixels.
- Plus (+) values
The location of the left side of the window relative to the left side of the workspace.
- Minus (-) values
The location of the right side of the window relative to the right side of the workspace.
- row
The row location of the window given in pixels:
- Plus (+) values
The location of the top of the window relative to the top of the workspace.
- Minus (-) values
The location of the bottom of the window relative to the bottom of the workspace.
Table 5-1 Example Locations for an 80×24 Terminal Window.
To position a window here... | Use this location... |
---|
The upper left corner of the workspace. | +1+1 |
The lower left corner of the workspace. | +1-1 |
The upper right corner of the workspace. | -1+1 |
The lower right corner of the workspace. | -1-1
|
For example, the following line specifies that all hpterm windows be created 80 characters wide and 24 characters high, and that they are initially placed in the upper right corner of the display.
hpterm*geometry: 80x24-1+1
|