macOS
brew install xrdblocal Homebrew formula metadata
安装
brew install xrdblocal Homebrew formula metadata
sudo apk add xrdbAlpine Linux edge package indexes · xrdb · 来源: dl-cdn.alpinelinux.org
sudo dnf install xrdbFedora Rawhide package metadata · xrdb · 来源: dl.fedoraproject.org
nix profile install nixpkgs#xrdbnixpkgs package indexes · pkgs/by-name/xr/xrdb/package.nix · 来源: api.github.com
sudo zypper install xrdbopenSUSE Tumbleweed package metadata · xrdb · 来源: download.opensuse.org
概览
X resource database utility
历史
xrdb is the small X.Org utility that loads, queries, merges, and edits the X server resource database. Its importance is historical as much as practical: it is the command that made per-user X resources such as colors, fonts, and application defaults available through X server properties rather than only through local dotfiles.
The xrdb manual carries Digital Equipment Corporation and Open Group copyright dates from the 1990s and identifies Bob Scheifler and Phil Karlton as authors, rewritten from Jim Gettys's original. That lineage places xrdb in the classic MIT X / X11 tooling family, before the program was maintained as part of the modular X.Org application set.
The tool's design follows the X resource system: resources can be stored in RESOURCE_MANAGER on screen 0 and SCREEN_RESOURCES on individual screens. The X(7) manual describes xrdb as the program used by startup systems such as xdm and xinit to put global and per-screen resources into those properties.
xrdb became a normal part of X session startup because many X Toolkit and Xlib-era applications read resources from the server. It is a quiet dependency of the .Xresources/.Xdefaults culture: users could keep one resource file, merge it at login, and have X clients pick up consistent defaults across hosts and screens.
Its adoption persisted through packaging because the resource database remains relevant for traditional X clients, terminal emulators, lightweight window-manager sessions, remote X workflows, and compatibility setups even as many desktop applications moved to toolkit-specific configuration systems.
Typical usage is `xrdb -merge ~/.Xresources` from an X startup file, followed by `xrdb -query` to inspect the server-side database. Users also use `-load`, `-override`, `-remove`, and `-edit` when replacing or round-tripping resource settings.
For package users, xrdb is most visible when installing or configuring xterm, bitmap-era X applications, old app-defaults packages, or minimalist desktop sessions where the user wants font, color, cursor, and widget defaults controlled by X resources.
xrdb is a classic example of a tiny package with outsized historical surface area: it is not a daemon or library, but it is the bridge between a user's resource files and the X server state that clients consult.
It matters in package catalogs because it explains why X11 setups still ship separate utilities for session glue. Without xrdb, many old-but-still-packaged X applications lose the shared configuration path their manuals assume.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xrdb | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://gitlab.freedesktop.org/xorg/app/xrdb
安装元数据
| 软件包键 | brew:xrdb |
|---|---|
| 版本 | 1.2.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/xrdb |
| 主页 | https://gitlab.freedesktop.org/xorg/app/xrdb |
| 仓库 | https://gitlab.freedesktop.org/xorg/app/xrdb |
| 上游文档 | https://gitlab.freedesktop.org/xorg/app/xrdb/-/blob/master/man/xrdb.man |
| 许可证 | MIT-open-group AND HPND-DEC |
| 源码归档 | https://www.x.org/releases/individual/app/xrdb-1.2.3.tar.xz |
| 最后更新 | 2026-07-10T03:18:27Z |
| Pulse | updated |
| 依赖 | libx11, libxmu |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xrdb |
| 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 软件包链接分开显示。
xrdb
nix profile install nixpkgs#xrdbxrdb 1.2.2-r0
X server resource database utility
sudo apk add xrdbxrdb-doc 1.2.2-r0
X server resource database utility (documentation)
sudo apk add xrdb-docxrdb 1.2.2-7.fc44
X server resource database utility
sudo dnf install xrdbxrdb 1.2.2-1.8
X server resource database utility
sudo zypper install xrdbxrdb
sudo port install xrdb来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.