Karabiner-Elements: 2016 MacBook Pro Touch Bar Fn modifier broken

I have my touch bar configured to “Expanded Control Strip” in System Preferences, and the Fn key set to “Show App Controls”. This works fine without Karabiner running, but the Touch Bar does not change as expected when Karabiner is running; it just stays on the Expanded Control Strip.

{
    "profiles": [
        {
            "fn_function_keys": {
                "f1": "vk_consumer_brightness_down",
                "f10": "mute",
                "f11": "volume_down",
                "f12": "volume_up",
                "f2": "vk_consumer_brightness_up",
                "f3": "vk_mission_control",
                "f4": "vk_launchpad",
                "f5": "vk_consumer_illumination_down",
                "f6": "vk_consumer_illumination_up",
                "f7": "vk_consumer_previous",
                "f8": "vk_consumer_play",
                "f9": "vk_consumer_next"
            },
            "name": "Default profile",
            "selected": true,
            "simple_modifications": {
                "caps_lock": "delete_or_backspace"
            }
        }
    ]
}

The Karabiner Event Viewer correctly recognises the Fn key being pressed and released:

eventType:FlagsChanged    code:0x3f       name:fn              flags:Fn                                 misc:characters:    
eventType:FlagsChanged    code:0x3f       name:fn              flags:                                   misc:characters:    

EDIT: After my MacBook sleeps and wakes, the expected behaviour returns. However, the faulty behaviour reappears if i relaunch Karabiner.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 13
  • Comments: 27

Most upvoted comments

After putting the macbook to sleep and waking it up again, the fn key works as intended.

clearly these guys don’t give a s**t about users complaints, uninstalling…

The author doesn’t own a MacBook Pro w/ Touch Bar. Fix it and submit a PR or work around it by sleeping and waking your MacBook.

@ClintEsteMadera that’s a little harsh. This is free software and we should appreciate the work of all the contributors.

I`m having the same issue with karabinier version 11.4 and sierra macbook pro 2017 13 inch

@ELLIOTTCABLE It is a free software, we ca not have to much expectation, if we need better services we have to pay. In the meantime for me it works best with a solution found on the other issue opened here with the same problem. Now I have remap the FN + 12334567890 which acts as F1-F12 keys.

After I switched left control and fn. The original fn key registers as a left control button press, but retains original functionality of the fn key. (Showing the f1, f2, f3, etc. keys)

Some commentary in some of the clones of this thread mentions restarting Karabiner as being the source of this problem — I just want to throw out there that I see this behaviour from startup, without manually restarting Karabiner. (Also, it’s consistently reproduced: it’s not ‘sometimes’, the fn key never works as expected with the Touch Bar as long as Karabiner Elements is running, for me.)

Edit: And yes, put-to-sleep-and-wake-back-up does, indeed, fix the problem until a reboot. Wtf. (Does anybody know a quick key-combo for this? I haven’t used the “sleep” feature of a computer in probably 10 years …)

Confirmed here as well 15" late 2016 MBP, Karabiner-Elements 0.92.92. MacBookPro13,3. Drove me up a wall this morning.