分页: 1 / 1

用tab找到的:查询窗口id的命令。

发表于 : 2006-10-06 23:49
eexpress
$ 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)'
麻烦

发表于 : 2006-10-07 9:29
bones7456
似乎不错,哈哈,记下先。

发表于 : 2006-10-11 17:01
zhuzhzh
i不错,蛮有用的