Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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"?>
<root>
  <item>
    <name>test</name>
    <identifier>test</identifier>
    <autogen>__KeyToKey__ KeyCode::COMMAND_R, KeyCode::OPTION_R</autogen>
    <autogen>__KeyToKey__ KeyCode::OPTION_R, KeyCode::VK_NONE</autogen>
  </item>
</root>

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

share|improve this answer

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.