Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer 1

using xmodmap like you did above worked for me. My assumption is that Alt_R may be assigned to the function of minimizing windows somewhere and that the system doesn't forward the keypress to the Terminal after this. Have you checked the system shortcuts or maybe in compiz? Not sure if there is a compiz-module to minimze windows via a shortcut though.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.