Unable to change Alt_R key using xmodmap

view full story

http://askubuntu.com – I've been trying to change the key mapping of my keyboard for certain keys. So far I've been successful to do it using xmodmap for a variety of keys. However, no matter what I do, I can't get the Alt_R (the right side Alt key) which has a key code of 108 to map to the Up key. Here's the command I'm using: xmodmap -e "keycode 108 = Up" Is there anything more that I need to do to get this working. Even after these changes, whenever I hit the Alt_R key, it ends up minimizing the current window. I'm on Ubuntu 11.04 (HowTos)