Skip to content

Instantly share code, notes, and snippets.

@duschicka
Last active February 13, 2020 09:53
Show Gist options
  • Save duschicka/c256d4f6a7ca81b1cac0be1d71f7e343 to your computer and use it in GitHub Desktop.
Save duschicka/c256d4f6a7ca81b1cac0be1d71f7e343 to your computer and use it in GitHub Desktop.
Remap circumflexes key to less and greater (shift modificator) and shell script to execute the remap. You can find the keycode with xev (https://www.archlinux.org/packages/extra/x86_64/xorg-xev/)
clear shift // clear the modifier !!!remove comment!!!
keycode 49 = less greater //remap ^-Key to less and SHIFT+^ to greater !!!remove comment!!!
keycode 94 = dead_circumflex //remap <-Key to circumflex !!!remove comment!!!
add shift = Shift_L Shift_R //readd the modifier keys !!!remove comment!!!
#!/bin/bash
xmodmap path/to/your/.Xmodmap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment