My latin-american keyboard comes with Alt Gr key (ISO_Level3_Shift), but it is useless for my work, so I would like to replace it with Alt R at the lowest level possible. I've tried in xmodmap with:

keysym ISO_Level3_Shift = Alt_R

but it doesn't work (xev still reports ISO_Level3_Shift).

How can I kill for good Alt GR?

migrated from stackoverflow.com Jan 27 '12 at 10:54

This question came from our site for professional and enthusiast programmers.


Using the keycode instead of the keysym should work. You can also find it in the xev output. For me it's:

xmodmap -e "keycode 108 = Alt_R Meta_R Alt_R Meta_R"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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