I am on archlinux and trying to swap the left Alt key with the left Ctrl key for my convenience in emacs as well as bash command line editing. I use the following ~/.xmodmap:
remove mod1 = Alt_L remove control = Control_L keycode 37 = Alt_L keycode 64 = Control_L add mod1 = Control_L add control = Alt_L
For some unclear reason to me, although xev output shows that indeed the two keys are swapped, no application actually uses the new bindings. Can someone enlighten me?