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.

2 Answers 2


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


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>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .