macOS
brew install xkbcomplocal Homebrew formula metadata
sudo port install xkbcompMacPorts ports tree · x11/xkbcomp/Portfile · 来源: api.github.com
安装
brew install xkbcomplocal Homebrew formula metadata
sudo port install xkbcompMacPorts ports tree · x11/xkbcomp/Portfile · 来源: api.github.com
sudo apk add xkbcompAlpine Linux edge package indexes · xkbcomp · 来源: dl-cdn.alpinelinux.org
sudo dnf install xkbcompFedora Rawhide package metadata · xkbcomp · 来源: dl.fedoraproject.org
nix profile install nixpkgs#xkbcompnixpkgs package indexes · pkgs/by-name/xk/xkbcomp/package.nix · 来源: api.github.com
sudo zypper install xkbcompopenSUSE Tumbleweed package metadata · xkbcomp · 来源: download.opensuse.org
概览
XKB keyboard description compiler
历史
xkbcomp is the X Keyboard Extension keymap compiler. It turns human-readable XKB keyboard descriptions into compiled keymaps for X servers and utilities, and can also reverse a running display or compiled map back into resolved XKB source.
The manual page identifies xkbcomp as a compiler for XKB keyboard descriptions and carries 1994 copyright lines for Silicon Graphics Computer Systems and the X Consortium, with Erik Fortune of Silicon Graphics listed as author. That places the tool in the original XKB work that extended X11 keyboard handling beyond the older core protocol.
As X11 moved through XFree86 and X.Org, xkbcomp remained the low-level compiler behind keyboard layout composition. The X.Org XKB page now points users toward xkeyboard-config for the maintained data files, while the xkbcomp source is maintained as an X.Org application project on freedesktop.org.
xkbcomp was adopted because XKB itself became the standard keyboard model for X11 systems. Desktop environments and users usually interact with higher-level tools such as setxkbmap or desktop settings, but xkbcomp sits underneath them as the program that verifies, resolves, compiles, dumps, or uploads the actual keymap.
The tool also became a favorite diagnostic and customization utility for keyboard-layout specialists. Documentation and community examples commonly use `xkbcomp :0 -` to inspect the active keymap or `xkbcomp file.xkb $DISPLAY` to load a custom map into a running X server.
Common package usage is compiling `.xkb` source into `.xkm` files, generating resolved XKB source from a display or compiled map, updating the keymap for a running X display, and producing C headers for servers or utilities that need built-in default keymaps.
For layout authors, xkbcomp is the last mile after editing keycodes, types, compat, symbols, and geometry files. It checks that those pieces merge into a complete keymap and reports warnings at selectable verbosity levels.
xkbcomp is classic Unix desktop substrate: rarely glamorous, but essential when packaging X servers, keyboard data, desktop sessions, remote desktops, or custom layouts. It is also a good example of a compiler whose input language is configuration rather than application code.
For package maintainers, its significance comes from being split from the keyboard-layout data it consumes. xkeyboard-config supplies the evolving layout corpus; xkbcomp supplies the compiler that XKB-capable systems rely on to consume that corpus.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xkbcomp | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:xkbcomp |
|---|---|
| 版本 | 1.5.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/xkbcomp |
| 主页 | https://www.x.org |
| 仓库 | https://gitlab.freedesktop.org/xorg/app/xkbcomp |
| 上游文档 | https://www.x.org/archive/X11R7.5/doc/man/man1/xkbcomp.1.html |
| 许可证 | HPND AND MIT-open-group |
| 源码归档 | https://www.x.org/releases/individual/app/xkbcomp-1.5.0.tar.xz |
| 依赖 | libx11, libxkbfile |
| 构建依赖 | 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 | xkbcomp |
| 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 软件包链接分开显示。
xkbcomp
nix profile install nixpkgs#xkbcompxkbcomp 1.5.0-r0
XKBD keymap compiler
sudo apk add xkbcompxkbcomp-dev 1.5.0-r0
XKBD keymap compiler (development files)
sudo apk add xkbcomp-devxkbcomp-doc 1.5.0-r0
XKBD keymap compiler (documentation)
sudo apk add xkbcomp-docxkbcomp 1.5.0-2.fc44
XKB keymap compiler
sudo dnf install xkbcompxkbcomp-devel 1.5.0-2.fc44
XKB keymap compiler development package
sudo dnf install xkbcomp-develxkbcomp 1.5.0-1.3
Utility to compile XKB keyboard description
sudo zypper install xkbcompxkbcomp-devel 1.5.0-1.3
Utility to compile XKB keyboard description -- Development Files
sudo zypper install xkbcomp-develxkbcomp
sudo port install xkbcomp来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.