xprop
Display window and font properties in an X server. More information: https://manned.org/xprop.
- Display the name of the root window:
xprop -root WM_NAME
- Display the window manager hints for a window:
xprop -name "" WM_HINTS
- Display the point size of a font:
xprop -font "" POINT_SIZE
- Display all the properties of the window with the ID 0x200007:
xprop -id
- Monitor a window for changes:
xprop -spy
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
