分页: 1 / 1

ubuntu 12.04下 wmctrl 修改窗口位置大小没有反应

发表于 : 2013-01-29 13:03
evolution2012GL
$ wmctrl -lG | grep Ubuntu
0x01a000b8 0 50 52 935 1028 guo-OptiPlex-790 发表主题 • Ubuntu中文论坛 - Pentadactyl
$ wmctrl -r Ubuntu中文 -e 0,400,400,800,600
坐标与大小都没有超出实际大小 但是命令结束后窗口没有任何改变, 这是什么原因谢谢大家

Re: ubuntu 12.04下 wmctrl 修改窗口位置大小没有反应

发表于 : 2013-01-29 14:19
eexpress
man wmctrl
看-r的写法。

Re: ubuntu 12.04下 wmctrl 修改窗口位置大小没有反应

发表于 : 2013-01-29 16:35
evolution2012GL
-r <WIN>
Specify a target window for an action.

<WIN> This argument specifies a window that is the target of an action. By default the argument is
treated as if were a string, and windows are examined until one is found with a title the contains
the specified string as a substring. The substring matching is done in a case insensitive manner.
The -F option may be used to force exact, case sensitive title matching. The option -i may be used
to interpret the window target as a numeric window identity instead of a string.
-r <WIN>其中<WIN>是字符串 可以是一个窗口的名称的子集, 而且 我使用 wmctrl -r Ubuntu中文 -b .......没有问题 就是使用 wmctrl -r Ubuntu中文 -e g,x,y,w,h 没有反应
谢谢eexpress

Re: ubuntu 12.04下 wmctrl 修改窗口位置大小没有反应

发表于 : 2013-02-21 9:08
BIVG_youtoo
:em20