Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, zypper 安装 xdpyinfo

查看 xdpyinfo 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xdpyinfo

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install xdpyinfo

MacPorts ports tree · x11/xdpyinfo/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add xdpyinfo

Alpine Linux edge package indexes · xdpyinfo · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install xdpyinfo

Fedora Rawhide package metadata · xdpyinfo · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#xdpyinfo

nixpkgs package indexes · pkgs/by-name/xd/xdpyinfo/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install xdpyinfo

openSUSE Tumbleweed package metadata · xdpyinfo · 来源: download.opensuse.org

概览

软件包摘要

X.Org: Utility for displaying information about an X server

命令和别名

  • xdpyinfo

历史

项目历史与用法

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.

时间线

  • MIT X Consortium era: Jim Fulton authors xdpyinfo.
  • 2005: X11R7.0 ships as the first complete modularized X.Org source release.
  • 2010: xdpyinfo 1.2.0 is announced on xorg-announce.
  • 2013: xdpyinfo 1.3.1 adds a -version option in a maintenance release.
  • 2018: The freedesktop.org GitLab project for the app module is created during repository migration.
  • 2025: The GitLab tag list records xdpyinfo 1.4.0.

Related projects

  • xwininfo inspects individual X windows rather than server-wide capabilities.
  • xprop prints X window and root-window properties.
  • xrandr focuses on RandR output configuration and display modes.
  • Xvfb is often used with xdpyinfo in headless test environments.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:server

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 安装时包含 5 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
xdpyinfocli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本1.4.0
管理器更新时间2026-07-04
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.x.org/

  • 信息Release/tag comparison is only available for GitHub repositories.https://www.x.org/none 置信度

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namexdpyinfo
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

xdpyinfo

nix profile install nixpkgs#xdpyinfo
  • normalized package name match
  • 匹配方式:Xdpyinfo
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xd/xdpyinfo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

xdpyinfo 1.4.0-r0

display information utility for X

https://xorg.freedesktop.org/

sudo apk add xdpyinfo
  • License: custom
  • Architecture: x86_64
  • Source Package: xdpyinfo
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Xdpyinfo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xdpyinfo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

xdpyinfo-doc 1.4.0-r0

display information utility for X (documentation)

https://xorg.freedesktop.org/

sudo apk add xdpyinfo-doc
  • License: custom
  • Architecture: x86_64
  • Source Package: xdpyinfo
  • normalized package name match
  • 匹配方式:Xdpyinfo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xdpyinfo-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

xdpyinfo 1.3.4-4.fc44

X11 display information utility

http://www.x.org

sudo dnf install xdpyinfo
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: xdpyinfo
  • 13 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Xdpyinfo
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xdpyinfo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

xdpyinfo 1.4.0-1.3

Utility to display information about an X server

http://xorg.freedesktop.org/

sudo zypper install xdpyinfo
  • License: MIT
  • Category: System/X11/Utilities
  • Architecture: x86_64
  • Source Package: xdpyinfo
  • 12 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Xdpyinfo
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xdpyinfo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

xdpyinfo

sudo port install xdpyinfo
  • normalized package name match
  • 匹配方式:Xdpyinfo
MacPorts ports tree · api.github.com · MacPorts ports tree: x11/xdpyinfo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment