mk_modmap (8) - Linux Manuals
mk_modmap: translate a Linux keytable file into an xmodmap file
mk_modmap - translate a Linux keytable file into an xmodmap file
SYNOPSISmk_modmap [ -v ] keymap_file
DESCRIPTIONThe 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).