xkbcomp $DISPLAY $HOME/.xkbmap-orig # original config
xmodmap ~/.Xmodmap # apply keyboard remap
xkbcomp $DISPLAY $HOME/.xkbmap # updated config
diff .xkbmap-orig .xkbmap # check which entries to modify -> apply them to /usr/share/X11/xkb/symbols/pc
Created
September 30, 2021 10:25
-
-
Save jigangkim/a48eb3ed56168ddbe812fd58d7813358 to your computer and use it in GitHub Desktop.
Remap keys with ~/.Xmodmap (deprecated)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keycode 105 = Hangul_Hanja NoSymbol Hangul_Hanja | |
keycode 108 = Hangul NoSymbol Hangul | |
keycode 191 = Print NoSymbol Print | |
keycode 192 = Scroll_Lock NoSymbol Scroll_Lock | |
keycode 193 = Pause NoSymbol Pause | |
keycode 197 = XF86Launch1 NoSymbol XF86Launch1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment