Provided by: kbd_2.0.4-4ubuntu2_amd64
mk_modmap - translate a Linux keytable file into an xmodmap file
mk_modmap [ -v ] keymap_file
The mk_modmap command tries to translate a Linux console keytable file into a file that can be parsed by xmodmap, and used within X. It outputs the results to standard out. If the -v flag is used, verbose output is given. It requires the X header files to be installed. (In Debian, these are in the "xlibs-dev" package).
Since XFree version 2.1, X initialises its keymap using the Linux keymap, so xmodmap will often be superfluous.