Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

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

Is there any way to enable Windows-style AltGr symbol shortcuts on Mac OS? I.e., AltGr+V should be mapped to "@", AltGr+F to "[" etc. AltGr being, in this case, the right Option/Alt key.

I am using a Croatian keyboard layout and the current way for entering those symbols is horrible to say the least. I've tried fixing this using KeyRemap4MacBook, but even though the changes are applied, key mappings remain the same.

share|improve this question

You might have better luck building a new keyboard layout with Ukelele.

share|improve this answer

I managed to accomplish this using KeyRemap4MacBook.

Here is the part from personal.xml, if anybody needs it:

          <name>Windows-style AltGr mappings</name>


          <autogen>--KeyToKey-- KeyCode::V, ModifierFlag::OPTION_R, KeyCode::KEY_2, ModifierFlag::SHIFT_L | ModifierFlag::OPTION_L</autogen>
          <autogen>--KeyToKey-- KeyCode::F, ModifierFlag::OPTION_R, KeyCode::BRACKET_LEFT, ModifierFlag::OPTION_L</autogen>
          <autogen>--KeyToKey-- KeyCode::G, ModifierFlag::OPTION_R, KeyCode::BRACKET_RIGHT, ModifierFlag::OPTION_L</autogen>
          <autogen>--KeyToKey-- KeyCode::B, ModifierFlag::OPTION_R, KeyCode::BRACKET_LEFT, ModifierFlag::SHIFT_L | ModifierFlag::OPTION_L</autogen>
          <autogen>--KeyToKey-- KeyCode::N, ModifierFlag::OPTION_R, KeyCode::BRACKET_RIGHT, ModifierFlag::SHIFT_L | ModifierFlag::OPTION_L</autogen>
          <autogen>--KeyToKey-- KeyCode::W, ModifierFlag::OPTION_R, KeyCode::BACKSLASH, ModifierFlag::SHIFT_L | ModifierFlag::OPTION_L</autogen>
          <autogen>--KeyToKey-- KeyCode::Q, ModifierFlag::OPTION_R, KeyCode::BACKSLASH, ModifierFlag::OPTION_L</autogen>
share|improve this answer

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.