Is there a way to dump the current keymap / keyboard layout, so it can be loaded on another host with xmodmap
?
2 Answers
This is in the xmodmap
man page. Try the following switch:
-pke This option indicates that the current keymap table should be printed on
the standard output in the form of expressions that can be fed back to
xmodmap.
Redirect this to a file and Xmodmap can read this file to set the keymap. This only applies when using X. If you need something similar on the console, look at loadkeys
.