From 34634ad15500889391d288104098e16348e8b5a9 Mon Sep 17 00:00:00 2001 From: pixel <35269695+pixelcmtd@users.noreply.github.com> Date: Sat, 18 Sep 2021 00:19:50 +0200 Subject: [PATCH] xprop: add page (#6429) --- pages/common/xprop.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/xprop.md diff --git a/pages/common/xprop.md b/pages/common/xprop.md new file mode 100644 index 0000000000..901eced6e5 --- /dev/null +++ b/pages/common/xprop.md @@ -0,0 +1,20 @@ +# xprop + +> A tool for displaying window and font properties in an X server. +> More information: . + +- 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` + +- Display all the properties of the window with the id 0x200007: + +`xprop -id {{0x200007}}`