macOS
brew install xwininfolocal Homebrew formula metadata
sudo port install xwininfoMacPorts ports tree · x11/xwininfo/Portfile · 来源: api.github.com
安装
brew install xwininfolocal Homebrew formula metadata
sudo port install xwininfoMacPorts ports tree · x11/xwininfo/Portfile · 来源: api.github.com
sudo apk add xwininfoAlpine Linux edge package indexes · xwininfo · 来源: dl-cdn.alpinelinux.org
sudo dnf install xwininfoFedora Rawhide package metadata · xwininfo · 来源: dl.fedoraproject.org
nix profile install nixpkgs#xwininfonixpkgs package indexes · pkgs/by-name/xw/xwininfo/package.nix · 来源: api.github.com
sudo zypper install xwininfoopenSUSE Tumbleweed package metadata · xwininfo · 来源: download.opensuse.org
概览
Print information about windows on an X server
历史
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.
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.
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.
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.
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xwininfo | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:xwininfo |
|---|---|
| 版本 | 1.1.7 |
| 软件包管理器 | Homebrew |
| 主页 | https://gitlab.freedesktop.org/xorg/app/xwininfo |
| 最后更新 | 2026-07-19T21:12:39Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
xwininfo
nix profile install nixpkgs#xwininfoxwininfo 1.1.6-r0
Window information utility for X
https://cgit.freedesktop.org/xorg/app/xwininfo
sudo apk add xwininfoxwininfo-doc 1.1.6-r0
Window information utility for X (documentation)
https://cgit.freedesktop.org/xorg/app/xwininfo
sudo apk add xwininfo-docxwininfo 1.1.7-2.fc45
X window info utility
sudo dnf install xwininfoxwininfo 1.1.7-1.2
Window information utility for X
sudo zypper install xwininfoxwininfo
sudo port install xwininfo来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.