macOS
brew install xkbcomplocal Homebrew formula metadata
sudo port install xkbcompMacPorts ports tree · x11/xkbcomp/Portfile · source: api.github.com
brew
XKB keyboard description compiler. Version 1.5.0 via Homebrew; verified from local package data.
install
brew install xkbcomplocal Homebrew formula metadata
sudo port install xkbcompMacPorts ports tree · x11/xkbcomp/Portfile · source: api.github.com
sudo apk add xkbcompAlpine Linux edge package indexes · xkbcomp · source: dl-cdn.alpinelinux.org
sudo dnf install xkbcompFedora Rawhide package metadata · xkbcomp · source: dl.fedoraproject.org
nix profile install nixpkgs#xkbcompnixpkgs package indexes · pkgs/by-name/xk/xkbcomp/package.nix · source: api.github.com
sudo zypper install xkbcompopenSUSE Tumbleweed package metadata · xkbcomp · source: download.opensuse.org
overview
XKB keyboard description compiler
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
xkbcomp | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:xkbcomp |
|---|---|
| Version | 1.5.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/xkbcomp |
| Homepage | https://www.x.org |
| Repository | https://gitlab.freedesktop.org/xorg/app/xkbcomp |
| Upstream docs | https://www.x.org/archive/X11R7.5/doc/man/man1/xkbcomp.1.html |
| License | HPND AND MIT-open-group |
| Source archive | https://www.x.org/releases/individual/app/xkbcomp-1.5.0.tar.xz |
| Dependencies | libx11, libxkbfile |
| Build dependencies | pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 xkbcompsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.