Created
May 26, 2020 10:23
-
-
Save tacone/97d9e8ffbbb840bb390d519e06d7e802 to your computer and use it in GitHub Desktop.
Sample code to remap the keyboard
This file contains hidden or 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
#!/bin/bash | |
xmodmap -e "keycode 66 = Mode_switch" | |
xmodmap -e "keysym i = i I Up" | |
xmodmap -e "keysym j = j J Left" | |
xmodmap -e "keysym k = k K Down" | |
xmodmap -e "keysym l = l L Right" | |
xmodmap -e "keysym u = u U Prior" | |
xmodmap -e "keysym o = o O Next" | |
xmodmap -e "keysym h = h H Home" | |
xmodmap -e "keycode 47 = ograve ccedilla End ccedilla at dead_cedilla at dead_cedilla" | |
xmodmap -e "keysym n = n N BackSpace N ntilde Ntilde ntilde Ntilde n N ntilde Ntilde" | |
xmodmap -e "keysym m = m M Delete M mu masculine mu masculine m M mu masculine m M mu masculine" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment