These are my Xorg keymaps for the X KeyBoard extension (XKB).
For a usage example, see my dotfiles.
Generate the default keymap for your system with
$ setxkbmap -print > xkb/keymap/default.xkb
Install xkb
to ~/.config/xkb
.
Load a keymap with
$ xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/keymap/default.xkb $DISPLAY
This is free and unencumbered software released into the public domain.
This software is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.