Dump current configuration:
$ xkbcomp $DISPLAY -
Print current components in a format accepted by xkbcomp:
$ setxkbmap -print
Load a configuration file from the current directory:
$ xkbcomp $DISPLAY -I. config.xkb $DISPLAY
The system-wide files are in
There are five components:
- Defines symbolic names for keycodes.
- Defines key types.
- Internal behavior of modifiers.
- Maps symbols to keycodes (by symbolic name).
- Used to depict keyboard layouts (e.g. with or AUR).
rules define how components are combined.