macOS
brew install xdpyinfolocal Homebrew formula metadata
sudo port install xdpyinfoMacPorts ports tree · x11/xdpyinfo/Portfile · 来源: api.github.com
安装
brew install xdpyinfolocal Homebrew formula metadata
sudo port install xdpyinfoMacPorts ports tree · x11/xdpyinfo/Portfile · 来源: api.github.com
sudo apk add xdpyinfoAlpine Linux edge package indexes · xdpyinfo · 来源: dl-cdn.alpinelinux.org
sudo dnf install xdpyinfoFedora Rawhide package metadata · xdpyinfo · 来源: dl.fedoraproject.org
nix profile install nixpkgs#xdpyinfonixpkgs package indexes · pkgs/by-name/xd/xdpyinfo/package.nix · 来源: api.github.com
sudo zypper install xdpyinfoopenSUSE Tumbleweed package metadata · xdpyinfo · 来源: download.opensuse.org
概览
X.Org: Utility for displaying information about an X server
历史
xdpyinfo is the X.Org command-line utility for interrogating an X server and printing its protocol, screen, visual, and extension capabilities. It is old-school X plumbing: not a user-facing desktop app, but a diagnostic probe for the display server behind one.
The X11R7.0 manual page credits Jim Fulton of the MIT X Consortium as author, with later extension support added by Joe Moss. That places xdpyinfo in the classic X client-tool tradition that predates modern X.Org packaging, then carried forward into the modular X.Org source tree.
X.Org's 2005 modularization split the old monolithic X Window System source into individual modules for applications, libraries, drivers, fonts, protocol descriptions, and related pieces. xdpyinfo became one of those independently releasable app modules, with its freedesktop.org GitLab project now describing it simply as a display information utility for X.
xdpyinfo's adoption is tied to X11 itself. Administrators, distribution maintainers, build scripts, and users reach for it when they need to confirm that an X server exists, that DISPLAY points to the intended server, what screens and visuals are exposed, and which protocol extensions are present.
The tool is packaged as part of the wider X.Org application set across Unix-like systems. That packaging role matters because many higher-level desktop or graphics issues reduce to 'what does this X server actually advertise?', and xdpyinfo answers without requiring a full desktop environment.
Typical use is direct inspection: run xdpyinfo against the default DISPLAY, pass -display for another server, use -queryExtensions to include numeric extension opcode/event/error details, or use -ext to dump information for a supported extension. It is often paired mentally with xwininfo, xprop, xrdb, xrandr, and other small X11 inspection commands.
Because it reports server capabilities rather than editing configuration, xdpyinfo is safe to run in diagnostics, bug reports, CI environments using Xvfb, remote X sessions, and package test scripts that need to verify extension availability.
xdpyinfo is a tiny but durable example of why X.Org is packaged as many small commands. Most users do not install it for daily interaction, but when a build, remote display, visual depth, or extension check fails, it becomes the quickest source of truth.
It also preserves the X11 client/server worldview in command form: a local program asks a display server what it can do, and the answer can be piped, pasted into bug reports, or used to explain why another graphical package behaves differently on two machines.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xdpyinfo | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:xdpyinfo |
|---|---|
| 版本 | 1.4.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/xdpyinfo |
| 主页 | https://www.x.org/ |
| 仓库 | https://gitlab.freedesktop.org/xorg/app/xdpyinfo |
| 上游文档 | https://www.x.org/archive/X11R7.0/doc/html/xdpyinfo.1.html |
| 许可证 | MIT |
| 源码归档 | https://xorg.freedesktop.org/archive/individual/app/xdpyinfo-1.4.0.tar.xz |
| 最后更新 | 2026-07-04T13:13:44+09:00 |
| Pulse | updated |
| 依赖 | libx11, libxcb, libxext, libxi, libxtst |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xdpyinfo |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
xdpyinfo
nix profile install nixpkgs#xdpyinfoxdpyinfo 1.4.0-r0
display information utility for X
sudo apk add xdpyinfoxdpyinfo-doc 1.4.0-r0
display information utility for X (documentation)
sudo apk add xdpyinfo-docxdpyinfo 1.3.4-4.fc44
X11 display information utility
sudo dnf install xdpyinfoxdpyinfo 1.4.0-1.3
Utility to display information about an X server
sudo zypper install xdpyinfoxdpyinfo
sudo port install xdpyinfo来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.