xwininfo
« Back to VersTracker
Description:
Print information about windows on an X server
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: System utilities
Tags: x11 xorg window-manager debugging cli utility
Install: brew install xwininfo
About:
xwininfo is a command-line utility for the X Window System that retrieves and displays detailed metadata about existing windows. It provides essential information such as window geometry, ID, parent/child relationships, and visual properties. This tool is invaluable for developers and system administrators debugging GUI applications or scripting window management tasks.
Key Features:
  • Extracts window geometry (position, size, borders)
  • Displays window hierarchy (tree view of parent/child windows)
  • Outputs window IDs and visual properties
  • Supports tree mode for recursive window inspection
Use Cases:
  • Debugging X11 application window placement and sizing issues
  • Scripting automated window management or tiling operations
  • Gathering window IDs for use with other X11 utilities like xdotool
Alternatives:
  • xprop – xprop focuses on window properties and hints, whereas xwininfo focuses on geometry and hierarchy.
  • xdotool – xdotool can query window info but is primarily designed for simulating input and window actions.
Version History
Detected Version Rev Change Commit