1

remap right alt to behave as right ctrl

view story
linux-howto

http://askubuntu.com – I'm trying to remap my right alt to behave like my right ctrl so I can use my right thumb to press the ctrl button. This is ubuntu 12.04. I've created the file .Xmodmap in my home folder with the following content: clear control clear mod1 !keycode 64 = Alt_L Meta_L keycode 108 = Alt_R Meta_R add control = Control_L Control_R Alt_R add mod1 = Alt_L Meta_L As you might guess, my left alt key has keycode 64 and my left alt key has keycode 108. This actually works in the sense that my right alt key behaves as if I press the ctrl key. However my left alt key now doesn't do anything anymore, (HowTos)