xprop

A tool for displaying window and font properties in an X server. More information: <https://manned.org/xprop>.

Install

All systems
curl cmd.cat/xprop.sh
Debian Debian
apt-get install x11-utils
Ubuntu
apt-get install x11-utils
Arch Arch Linux
pacman -S xorg-xprop
image/svg+xml Kali Linux
apt-get install x11-utils
CentOS
yum install xorg-x11-utils
Fedora
dnf install xorg-x11-utils
Windows (WSL2)
sudo apt-get update sudo apt-get install x11-utils
Raspbian
apt-get install x11-utils

A tool for displaying 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 "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

© tl;dr; authors and contributors