Joel Roth wrote: > # remap CAPSLOCK to be CTRL > > rxvt -e screen -D -r > xmodmap -e 'keycode 66 = Control_L' > xmodmap -e 'clear Lock' > xmodmap -e 'add Control = Control_L' > xset b off # this suppresses beep > setxkbmap -option terminate:ctrl_alt_bksp # this works, too > exec /usr/bin/i3 My findings are that the setxkbmap command undoes all xmodmap settings. So an option would be to put this command at the beginning.