2021-09-17 23:19:50 +01:00
|
|
|
# xprop
|
|
|
|
|
2024-02-14 20:25:13 +00:00
|
|
|
> Display window and font properties in an X server.
|
2021-09-17 23:19:50 +01:00
|
|
|
> 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 "{{window_name}}" WM_HINTS`
|
|
|
|
|
|
|
|
- Display the point size of a font:
|
|
|
|
|
|
|
|
`xprop -font "{{font_name}}" POINT_SIZE`
|
|
|
|
|
2024-03-14 05:01:06 +00:00
|
|
|
- Display all the properties of the window with the ID 0x200007:
|
2021-09-17 23:19:50 +01:00
|
|
|
|
|
|
|
`xprop -id {{0x200007}}`
|