macOS
brew install xproplocal Homebrew formula metadata
sudo port install xpropMacPorts ports tree · x11/xprop/Portfile · 来源: api.github.com
安装
brew install xproplocal Homebrew formula metadata
sudo port install xpropMacPorts ports tree · x11/xprop/Portfile · 来源: api.github.com
sudo apk add xpropAlpine Linux edge package indexes · xprop · 来源: dl-cdn.alpinelinux.org
sudo dnf install xpropFedora Rawhide package metadata · xprop · 来源: dl.fedoraproject.org
nix profile install nixpkgs#xpropnixpkgs package indexes · pkgs/by-name/xp/xprop/package.nix · 来源: api.github.com
sudo zypper install xpropopenSUSE Tumbleweed package metadata · xprop · 来源: download.opensuse.org
概览
Property displayer for X
历史
xprop is the X.Org command-line utility for inspecting and changing X server window and font properties. It is one of the small diagnostic tools that makes X11's atom-and-property model visible to users, window-manager authors, packagers, and automation scripts.
The current man page carries Open Group copyrights from 1988 and 1998 and an XFree86 copyright from 2000, placing xprop in the older X Consortium/Open Group/XFree86 lineage before the modern modular X.Org release process. It later became one of the separately shipped X.Org app modules.
As a modular X.Org utility, xprop is intentionally narrow. The upstream README describes it simply as a command-line tool to display and/or set window and font properties of an X server, with development now hosted in the freedesktop.org GitLab repository and questions routed to the Xorg mailing list.
The release archive shows xprop as part of the X.Org individual app set from the 2006 modular era onward. Newer releases still happen because small fixes matter: the 1.2.5 README notes a -help command-line handler and icon-image display improvements, and 1.2.8 was archived in 2024.
xprop spread with the X11 desktop stack rather than through a separate hype cycle. It is available wherever X.Org utilities are packaged because it is the standard way to inspect WM_CLASS, WM_NAME, EWMH _NET_* values, root-window properties, font properties, and arbitrary atoms from a shell.
Its adoption persisted because X11 properties are the glue between clients, window managers, panels, launchers, automation scripts, and debugging sessions. Even as Wayland reduces the direct applicability of X11 tooling, xprop remains part of Xwayland and legacy-X troubleshooting.
The classic workflow is to run xprop and click a window, or pass -id, -name, -root, or -font to choose a target. With no explicit property list, it prints all properties on the selected object; with property names, it prints just those values.
More advanced use includes -set and -remove for changing properties, -spy for watching property-change events, and -f or format files for controlling how property values are displayed. In package-nerd practice, it is often paired with xwininfo, wmctrl, xdotool, window-manager rule systems, and bug reports about X11 clients.
xprop is tiny but culturally important: it exposes one of X11's core mechanisms without requiring a debugger or Xlib program. A lot of Linux desktop lore, from fixing application window classes to writing window-manager rules, starts with xprop output.
For package indexes, xprop is the kind of utility that justifies splitting old X.Org trees into many small packages. Users may install it alone to debug GUI behavior, even if they do not think of themselves as installing the X.Org app suite.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xprop | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:xprop |
|---|---|
| 版本 | 1.2.8 |
| 软件包管理器 | Homebrew |
| 主页 | https://gitlab.freedesktop.org/xorg/app/xprop |
| 最后更新 | 2026-07-04T13:13:44+09:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
xprop
nix profile install nixpkgs#xpropxprop 1.2.8-r0
Property displayer for X
https://cgit.freedesktop.org/xorg/app/xprop
sudo apk add xpropxprop-doc 1.2.8-r0
Property displayer for X (documentation)
https://cgit.freedesktop.org/xorg/app/xprop
sudo apk add xprop-docxprop 1.2.8-6.fc45
X property display utility
sudo dnf install xpropxprop 1.2.8-1.7
Property displayer for X
sudo zypper install xpropxprop
sudo port install xprop来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.