|
|
imagemagick包提供的抓图工具import,其-window选项的man页如下:
想问的是:如何确定某window的id?
谢谢
–window id
make image the background of a window.
id can be a window id or name. Specify root to select X's root window as the target window.
By default the image is tiled onto the background of the target window. If backdrop or –geometry are specified, the image is surrounded by the background color. Refer to X RESOURCES for details.
The image will not display on the root window if the image has more unique colors than the target window colormap allows. Use –colors to reduce the number of colors. |
|