13

My new iMac (2017, running 10.12.5) has by default F14/F15 bound to control the display brightness. I can't find any way to disable them, which means that binding them to other functions doesn't work. Using a third party tool like Keyboard Maestro can map the keys, but doesn't override the brightness adjustment, so you get two functions at once.

In my research it seems that some versions of Mac OS had a Display option under Keyboard Shortcuts that had the applicable options: Keyboard Shortcuts Preferences

Unfortunately I don't have that.

So my question is: How do I get that Display section back, or how do I unbind the decrease/increase display brightness shortcuts?

4 Answers 4

9

The Display section in Keyboard Shortcuts shows up when a third-party (non-Apple) keyboard is attached (I used a USB one, I don't have a wireless one to test). From there I was able to disable the shortcut keys.

Once I was able to disable them, I did some digging to find where the preferences are stored behind the scenes. Turns out that they live in ~Library/Preferences/com.apple.symbolichotkeys.plist.

Setting the enabled property to false for keys 53 through 56 of the AppleSymbolicHotKeys dictionary, will disable the F14/F15 brightness adjustments (this doesn't affect the F1/F2 keys on Apple keyboards).

/usr/libexec/PlistBuddy -c "Set :AppleSymbolicHotKeys:53:enabled false" ~/Library/Preferences/com.apple.symbolichotkeys.plist
/usr/libexec/PlistBuddy -c "Set :AppleSymbolicHotKeys:54:enabled false" ~/Library/Preferences/com.apple.symbolichotkeys.plist
/usr/libexec/PlistBuddy -c "Set :AppleSymbolicHotKeys:55:enabled false" ~/Library/Preferences/com.apple.symbolichotkeys.plist
/usr/libexec/PlistBuddy -c "Set :AppleSymbolicHotKeys:56:enabled false" ~/Library/Preferences/com.apple.symbolichotkeys.plist

The change will take place after a logout or restart. If you want to re-enable them, change false to true.

1
  • I'm using a USB wired Apple extended keyboard and have the display section Jan 2, 2019 at 17:44
4

robmathers answer is correct in spirit, but didn't work for me on Retina iMac 27" (2017) with full-size Apple Magic Keyboard 2 on macOS Sierra 10.12.6. The plist keys in the com.apple.symbolichotkeys.plist were different. Here are the commands that worked for me:

/usr/libexec/PlistBuddy -c "Set :AppleSymbolicHotKeys:7:enabled false" ~/Library/Preferences/com.apple.symbolichotkeys.plist
/usr/libexec/PlistBuddy -c "Set :AppleSymbolicHotKeys:12:enabled false" ~/Library/Preferences/com.apple.symbolichotkeys.plist

Don't forget to restart the computer (simply logging out doesn't work). After this is done you'll be free to map these keys.

5
  • Out of curiosity, what keyboard layout are you using?
    – robmathers
    Sep 1, 2017 at 17:16
  • Default U.S. layout. Sep 6, 2017 at 16:08
  • how did you find out which AppleSymbolicHotKeys id maps to which F key?
    – Buju
    Feb 21, 2018 at 17:27
  • 1
    I think I used something like this: softwares.bajram.com/softwares/#Full_Key_Codes Feb 22, 2018 at 18:03
  • This also resolved the issue when using a Magic Keyboard 2 with a late-2016 TouchBar MacBook Pro. So it must be that different KeyCodes are applicable depending on the keyboard type you're using. Entries 7 and 12 work for the Magic Keyboard 2, but with robmathers' answer, different entries (53 thru 56) may correspond to non-Apple keyboards.
    – stef
    Nov 1, 2018 at 19:44
0

None of these options worked for me. Also the com.apple.symbolichotkeys.plist file is for a given user and in my case I had the problem even with Guest account.

I was able to get Display to show up by removing all my USB devices. Then I was able to uncheck the F14/F15 items. I was even able to plug all my USB devices back in and Display still is displayed, go figure.

0

BetterTouchTool (BTT) v3.737 on macOS 10.14.6 v18G9323 enables me to map the F14 and F15 keys on my Apple, bluetooth keyboard to another function, overriding the brightness function(s).

No plist editing, restarting the OS, or anything like that. It "just works" for me.

Key point: be sure to press the fn key in combination with F14 or F15 when define-ing/assigning/(re)mapping the BTT keyboard trigger, otherwise simply pressing F14/F15 keys will simply brighten/darken the display. However, this is a one-time requirement (at BTT trigger-definition time), and from them on the F14/F15 keys are mapped to the new BTT function, at least on my system.

You must log in to answer this question.

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