#!/bin/sh # Remap Maltron keys to better suit programming and other geektivities: # # - the key labeled "[" will produce "(" # - the key labeled "]" will produce ")" # - the key labeled "*" will produce "=" (only when shifted) # - the key labeled "=" will produce "_" # - the key labeled "+" will produce "!" (only when shifted) # - the key labeled "_" will produce "+" (only when shifted) # - the key labeled "-" will produce "*" # - the key labeled with *just* a minus sign will produce hyphen-minus # (Do search://dash hyphen minus/ for details about that last one.) # # To undo the mapping, see unmaltron.sh. xmodmap -e "keycode 34 = parenleft braceleft" \ -e "keycode 35 = parenright braceright" \ -e "keycode 17 = 8 equal" \ -e "keycode 18 = 9 bracketleft" \ -e "keycode 19 = 0 bracketright" \ -e "keycode 20 = asterisk plus" \ -e "keycode 21 = underscore exclam" \ -e "keycode 82 = minus hyphen"