1

I've problem with my Macbook Pro (with El Captain installed on it) where one of the keys (such as r) doesn't work at all, so each time when I'm typing a word with "r", I've to keep pasting it from the system clipboard. It's very inconvenient.

I'm planning to see Genius Bar, but since then, I'd like to find a better way to deal with such problem.

I've also consider external keyboard, but it's another inconvenience, where you have to carry it physically with you.

Is there any way of rebinding a keyboard key into another one (like r into §)? Or do can you suggest something better?

  • 1
    Take a look at apple.stackexchange.com/questions/219629/…. – tubedogg Sep 14 '16 at 18:28
  • The two apps used to fix things like this are Ukelele and Karabiner. Also you could just create a shortcut in system prefs/keyboard/text, but would be more cumbersome probably. – Tom Gewecke Sep 14 '16 at 18:38
  • In prefs/keyboard/text I can only replace pattens for the whole words, not single keys. – kenorb Sep 14 '16 at 18:41
1

As suggested in the comments and in this post, using Karabiner app should work with the following configuration of private.xml file (edit in Misc tab):

<?xml version="1.0"?>
<root>
  <item>
    <name>Use § to type R</name>
    <identifier>private.replace_r_key</identifier>
    <autogen>__KeyToKey__ KeyCode::DANISH_DOLLAR, KeyCode::R</autogen>
  </item>
</root>

and enable newly created item after reloading the file in Change Key tab.

To find out the right key code, use EventViewer in Misc tab.

You must log in to answer this question.

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