mk_modmap
translate a Linux keytable file into an xmodmap file
TLDR
SYNOPSIS
mk_modmap [-v] keymapfile_
DESCRIPTION
mk_modmap translates a Linux console keytable file into a file that can be parsed by xmodmap and used within X11. The translated result is written to standard output. It requires the X11 header files to be installed at build time.The tool is part of the xkeycaps package. Modern X.Org versions initialize their keymap from the active Linux keymap, so mk_modmap is rarely needed on contemporary systems.
PARAMETERS
-v
Verbose output during conversion.keymapfile_
A Linux console keytable file (as produced by `dumpkeys` or shipped under `/usr/share/keymaps`).
CAVEATS
X11 specific. Output for xmodmap. Not all console key actions have a direct xmodmap equivalent. Largely obsolete on modern X.Org and Wayland setups.
HISTORY
mk_modmap ships with xkeycaps, originally written by Jamie Zawinski. It dates to early X11/Linux days when keyboard layouts were configured separately for the console and X server.
