Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use the Polish keyboard layout in OS X Leopard.

I'd like to remap right alt to right cmd and disable right alt.

share|improve this question
possible duplicate of Remapping of keys in Mac OS X – soandos Jun 18 '12 at 8:06
@soandos I'm not sure the solution there works, are you? – slhck Jun 18 '12 at 8:21
@slhck, why wouldn't it? – soandos Jun 18 '12 at 8:29
@soandos Because there's no option in KeyRemap4MacBook to change right ⌘ to any possible key – only several predefined ones IIRC. – slhck Jun 18 '12 at 8:32
I don't have a mac, nor access to one. I really have no idea, just the questions seemed the same to me – soandos Jun 18 '12 at 8:38

KeyRemap4MacBook does have a predefined setting for changing the right command to option:

If you also want to disable the right option, you could use a private.xml like this instead:

<?xml version="1.0"?>
    <autogen>__KeyToKey__ KeyCode::COMMAND_R, KeyCode::OPTION_R</autogen>
    <autogen>__KeyToKey__ KeyCode::OPTION_R, KeyCode::VK_NONE</autogen>

See the source for the key code values and predefined settings.

share|improve this answer
KeyRemap4MacBook is now known as Karabiner. – Ether Mar 7 '15 at 20:18

Your Answer


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.