xwininfo

Display information about windows. See also: xprop, xkill. More information: <https://www.x.org/releases/current/doc/man/man1/xwininfo.1.xhtml>.

Debian Debian
RUN apt-get update && \ apt-get install -y x11-utils
Ubuntu
RUN apt-get update && \ apt-get install -y x11-utils
Arch Arch Linux
RUN pacman -S --noconfirm xorg-xwininfo
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y x11-utils
CentOS
RUN yum install -y xorg-x11-utils
Fedora
RUN dnf install -y xorg-x11-utils
Raspbian
RUN apt-get update && \ apt-get install -y x11-utils
click the source code to copy install xwininfo on any operating system with command-not-found.com