X 服务器实用程序使用指南
在 X 服务器的使用过程中,有许多实用程序可以帮助我们获取和调整各种设置,下面将详细介绍这些实用程序的功能和使用方法。
1. 获取窗口信息
X 提供了 xwininfo 实用程序,用于获取窗口的基本信息,如大小、位置、可见性、颜色深度、ID 和名称等。
- 交互选择窗口 :不携带任何参数运行 xwininfo 时,它允许你通过鼠标交互选择要查看信息的窗口。
$ xwininfo
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
用户使用鼠标选择窗口后,将显示该窗口的详细信息,如下所示:
xwininfo: Window id: 0x363809e "chris@concord2:~"
Absolute upper-left X: 464
Absolute upper-left Y: 20
Relative upper-left X: 6
Relative upper-left Y: 20
Width: 737
Height: 898
Depth: 24
Visual Class: TrueColor
Border
超级会员免费看
订阅专栏 解锁全文
2347

被折叠的 条评论
为什么被折叠?



