xwininfo 默认集成于 Ubuntu 桌面版, 用于管理桌面窗口。
基本语法 Basic Usage
xwininfo [-options ...]
options
| 参数 | EN 解释 | 中文翻译 | Remark |
|---|---|---|---|
| -help | print this message | 打印此消息 | |
| -display host:dpy | X server to contact | 要联系的 X 服务器 | |
| -root | use the root window | 使用 root 窗口 | |
| -id windowid | use the window with the specified id | 使用具有指定 ID 的窗口 | |
| -name windowname | use the window with the specified name | 使用具有指定名称的窗口 | |
| -int | print window id in decimal | 以十进制打印窗口 ID | |
| -children | print parent and child identifiers | 打印父级和子级标识符 | |
| -tree | print children identifiers recursively | 归打印子级标识符 | |
| -stats | print window geometry [DEFAULT] | 打印窗口几何体 [默认] | |
| -bits | print window pixel information | 打印窗口像素信息 | |
| -events | print events selected for on window | 打印窗口选中事件 | |
| -size | print size hints | 打印尺寸提示 | |
| -wm | print window manager hints | 打印窗口管理器提示 | |
| -shape | print shape extents | 打印形状范围 | |
| -frame | don't ignore window manager frames | 不要忽略窗口管理器框架 | |
| -english | print sizes in english units | 以英制单位打印尺寸 | |
| -metric | print sizes in metric units | 以公制单位打印尺寸 | |
| -all | -tree, -stats, -bits, -events, -wm, -size, -shape |
| Function | 命令 | 文字解释 | 示例 | 示例解释 |
|---|---|---|---|---|
| 帮助 | xwininfo --help | 展示帮助信息 |
Copyright Notice: This article is an exclusive original manuscript, copyright belongs to Happy Digits Software , shall not be reproduced without permission.