xkbcomp

Compiles XKB keyboard description files into keyboard maps

brewmacoslinux
Try with needOr install directly
Source

About

XKB keyboard description compiler

Commands

xkbcomp

Examples

Compile an XKB keyboard description file and load it$ xkbcomp -I/usr/share/X11/xkb keymap/mykeymap $DISPLAY
Compile XKB file and output the result to a file$ xkbcomp -I/usr/share/X11/xkb keymap/us pc104 output.xkm
Print compiled keyboard map without loading it$ xkbcomp -I/usr/share/X11/xkb -p keymap/us