Prev | Current Page 162 | Next

Chris Tyler

"X Power Tools"

4) that could be used on a command line to
open the window with the same size and position.
Instead of interactively selecting the window for which you wish to display information,
you can select a window by ID (using the -id option). However, this is not
often useful, because you usually won??™t know the ID until you??™ve used xwininfo.
Somewhat more useful is the -root option, which tells you about the root window of
a screen:
$ xwininfo -root
xwininfo: Window id: 0x93 (the root window) (has no name)
Absolute upper-left X: 0
Absolute upper-left Y: 0
Relative upper-left X: 0
Relative upper-left Y: 0
Width: 1280
Height: 1024
Depth: 24
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x20 (installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +0+0 -0+0 -0-0 +0-0
-geometry 1280x1024+0+0
6.3
6.3 Getting Window Information 99
The -children option displays information about the child windows, and the -tree
option recursively displays information about child windows and all of their
descendants. Since X treats all windows as part of a hierarchy, using -root and -tree
together displays information about all of the windows on the screen:
$ xwininfo -root -tree
xwininfo: Window id: 0x93 (the root window) (has no name)
Root window id: 0x93 (the root window) (has no name)
Parent window id: 0x0 (none)
311 children:
0x9ff528 (has no name): ( ) 749x414+492+0 +492+0
1 child:
0x3620ec2 "chris@concord2:~": ("gnome-terminal" "Gnome-terminal")
737x388+6+20 +498+20
5 children:
0x3620eea (has no name): ( ) 15x362+722+26 +1220+46
0x3620ece (has no name): ( ) 722x362+0+26 +498+46
0x3620ee3 (has no name): ( ) 737x26+0+0 +498+20
6 children:
0x3620ee9 (has no name): ( ) 40x24+240+1 +738+21
0x3620ee8 (has no name): ( ) 31x24+203+1 +701+21
0x3620ee7 (has no name): ( ) 64x24+133+1 +631+21
0x3620ee6 (has no name): ( ) 42x24+85+1 +583+21
0x3620ee5 (has no name): ( ) 37x24+42+1 +540+21
0x3620ee4 (has no name): ( ) 35x24+1+1 +499+21
0x3620ecd (has no name): ( ) 10x10+0+0 +498+20
0x3620ec3 (has no name): ( ) 1x1+-1+-1 +497+19
0x5600006 "screensaver": ("xscreensaver" "XScreenSaver")
1280x1024+0+0 +0+0
.


Pages:
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
Kąty Rybackie noclegi trener nlp ceny żywca leczenie alkoholizmu Kołobrzeg