From BlenderWiki

Jump to: navigation, search

Keyboard Tweaks

These commands can be added into your ~/.xinitrc

Set Capslock as Ctrl

xmodmap -e 'keycode 66 = Control_L'
xmodmap -e 'clear Lock'
xmodmap -e 'add Control = Control_L'

Swap Symbols/Numbers

This way you symbols are default, holding shift gets numbers (or better, just use numpad)

xmodmap -e "keycode  10 = exclam 1 exclam 1"
xmodmap -e "keycode  11 = at 2 at 2"
xmodmap -e "keycode  12 = numbersign 3 numbersign 3"
xmodmap -e "keycode  13 = dollar 4 dollar 4"
xmodmap -e "keycode  14 = percent 5 percent 5"
xmodmap -e "keycode  15 = asciicircum 6 asciicircum 6"
xmodmap -e "keycode  16 = ampersand 7 ampersand 7"
xmodmap -e "keycode  17 = asterisk 8 asterisk 8"
xmodmap -e "keycode  18 = parenleft 9 parenleft 9"
xmodmap -e "keycode  19 = parenright 0 parenright 0"