But what is the unit of measure for the size? We can determine that by giving
xwininfo the -size option:
$ xwininfo -size
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
...User selects the window...
xwininfo: Window id: 0x36059c4 "chris@concord2:~"
Normal window size hints:
Program supplied minimum size: 53 by 58
Program supplied base size: 17 by 28
Program supplied x resize increment: 9
Program supplied y resize increment: 15
Program supplied minimum size in resize increments: 5 by 3
Program supplied base size in resize increments: 1 by 1
Program supplied window gravity: NorthWestGravity
No zoom window size hints defined
Here we can clearly see that the window has set the size increment to 9 pixels horizontally
and 15 pixels vertically. Therefore the width of the window is 77*9=693 pixels,
and the height is 34*15=510 pixels. We can also see that the minimum window
size is 5*9=45 pixels, and the minimum height is 3*15=45 pixels.
7.4
7.4 Split Personality: Running Nongraphical Applications 115
Many applications allow you to specify the geometry on the command line. The
option is -geometry for applications that use Xt-based toolkits (Athena and Motif), or
it??™s --geometry for GTK+ and Qt-based applications.
Pages:
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195