pkg.soopen package index

brew / rank 9570

Install xwininfo with Homebrew, apk, dnf, MacPorts, Nix, zypper

Print information about windows on an X server. Version 1.1.7 via Homebrew; verified 2026-07-19. Also installable with nix: nix profile install nixpkgs#xwininfo.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install xwininfo

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install xwininfo

MacPorts ports tree · x11/xwininfo/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add xwininfo

Alpine Linux edge package indexes · xwininfo · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install xwininfo

Fedora Rawhide package metadata · xwininfo · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#xwininfo

nixpkgs package indexes · pkgs/by-name/xw/xwininfo/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install xwininfo

openSUSE Tumbleweed package metadata · xwininfo · source: download.opensuse.org

overview

Package summary

Print information about windows on an X server

Commands and aliases

  • xwininfo

history

Project history and usage

xwininfo is the X.Org command-line utility for inspecting X windows. It prints selected window attributes such as id, geometry, depth, visual, children, window-manager hints, shape data, events, and recursive window trees.

Project history

xwininfo belongs to the classic X11 application/tool set rather than to a separately branded application lineage. Its current X.Org README describes it plainly as a program that prints information about windows on an X server, with primary development in the xorg/app/xwininfo repository and questions directed to the Xorg mailing list.

The public cgit history shows the modern standalone module rooted in X.Org's early-2000s source imports: an X.Org baseline commit in 2003, XFree86 vendor imports in 2004, modular build-system work in 2005, and X11R7 packaging updates as X.Org split the monolithic tree into independently released modules.

Because xwininfo's job is to interrogate X server window state, its history follows X11's debugging culture: small tools such as xwininfo, xprop, xev, xlsclients, and xdpyinfo expose protocol and window-manager details that desktop users normally never see.

Adoption history

xwininfo is widely packaged because it is basic X11 diagnostic equipment. Distributions ship it either as its own X.Org app package or as part of grouped X utilities; users reach for it when they need a window id, geometry, root-window data, child tree, or details for scripting around X clients.

Its adoption persists even as Wayland desktops grow, because Xwayland, remote X11, legacy window managers, CI display tests, and old Unix desktops still need simple command-line inspection of X windows.

How it is used

Without an id or name, xwininfo lets the user click a target window and then prints default stats. Common scripted forms include `xwininfo -id 0x...`, `xwininfo -root`, `xwininfo -tree -root`, `xwininfo -name TITLE`, and `xwininfo -all` for a broader dump.

The manpage documents options for children/tree traversal, geometry and size, bits, events, window-manager hints, shape extension data, root-window inspection, and integer-vs-hex window ids.

Why package nerds care

xwininfo is a package-nerd staple because it is one of the smallest ways to see the X server's model directly. It turns invisible protocol objects into text, which makes it useful in packaging tests, bug reports, shell scripts, window-manager debugging, and support docs.

It also illustrates the X.Org modularization story: a once-monolithic X utility became an independently versioned app module with its own repository, releases, and downstream package recipes.

Timeline

  • Pre-2000s: xwininfo exists as part of the traditional X/XFree86 utility set for inspecting X windows.
  • 2003-11-14: X.Org cgit history records the R6.6 baseline import for this module.
  • 2004: XFree86 vendor imports and X.Org merge history appear in the public repository lineage.
  • 2005-07-08: Build-system work prepares xwininfo as an independent modular X.Org app package.
  • 2005-12-21: Repository history records the X11R7 release package-version update.
  • 2018: README is updated for the freedesktop.org GitLab migration.
  • 2023-02-25: libxcb-errors support is added to improve X protocol error messages.
  • 2025: Recent maintenance includes manpage fixes, `--help`/`--version` aliases, memory-leak fixes, and stdbool cleanup.

Related projects

  • X.Org and the X Window System: the display server/protocol stack inspected by xwininfo.
  • xprop: companion utility for reading X window and root-window properties.
  • xev: companion utility for observing X events.
  • xdpyinfo, xlsclients, and xlsatoms: related X inspection utilities commonly referenced with xwininfo.
  • Xlib, XCB, and libxcb-errors: libraries and protocol layers used around modern xwininfo behavior.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:server

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
xwininfoexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version1.1.7
manager updated2026-07-19
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:xwininfo
Version1.1.7
Package managerHomebrew
Homepagehttps://gitlab.freedesktop.org/xorg/app/xwininfo
Last updated2026-07-19T21:12:39Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

xwininfo

nix profile install nixpkgs#xwininfo
  • normalized package name match
  • Matched by: Xwininfo
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xw/xwininfo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

xwininfo 1.1.6-r0

Window information utility for X

https://cgit.freedesktop.org/xorg/app/xwininfo

sudo apk add xwininfo
  • License: MIT
  • Architecture: x86_64
  • Source Package: xwininfo
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xwininfo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xwininfo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

xwininfo-doc 1.1.6-r0

Window information utility for X (documentation)

https://cgit.freedesktop.org/xorg/app/xwininfo

sudo apk add xwininfo-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: xwininfo
  • normalized package name match
  • Matched by: Xwininfo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xwininfo-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

xwininfo 1.1.7-2.fc45

X window info utility

https://www.x.org

sudo dnf install xwininfo
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: xwininfo
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xwininfo
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xwininfo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
zypper95%

xwininfo 1.1.7-1.2

Window information utility for X

http://xorg.freedesktop.org/

sudo zypper install xwininfo
  • License: MIT
  • Category: System/X11/Utilities
  • Architecture: x86_64
  • Source Package: xwininfo
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xwininfo
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xwininfo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

xwininfo

sudo port install xwininfo
  • normalized package name match
  • Matched by: Xwininfo
MacPorts ports tree · api.github.com · MacPorts ports tree: x11/xwininfo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation