$ xwininfo
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
xwininfo: Window id: 0x360001d "exp@exp-laptop: ~"
Absolute upper-left X: 298
Absolute upper-left Y: 201
Relative upper-left X: 298
Relative upper-left Y: 201
Width: 737
Height: 457
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: +298+201 -245+201 -245-142 +298-142
-geometry 80x24+298+201
看来我的截图脚本要修改成这种通用的格式了。md,-all也没有name的信息。xprop又没有id信息。不如fvwnident
$ xprop |grep 'window id # of group'
$ xprop |grep 'WM_CLASS(STRING)'
麻烦
用tab找到的:查询窗口id的命令。
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
用tab找到的:查询窗口id的命令。
● 鸣学
- bones7456
- 帖子: 8495
- 注册时间: 2006-04-12 20:05
- 来自: 杭州
- 联系: