0

I found https://stackoverflow.com/questions/21878482/what-do-the-parameter-values-in-applesymbolichotkeys-plist-dict-represent but haven't been able to find descriptions of the action ids, at least not one that includes what I'm looking for.

I'm trying to map F14 in iTerm2 but macOS 13.5 has that bound to open the Displays System Settings.

enter image description here

How do I go about disabling this?

1 Answer 1

0

https://krypted.com/mac-os-x/defaults-symbolichotkeys/ lists the key code for F14 is 107.

defaults read com.apple.symbolichotkeys outputs (note the 107 in value.parameters):

…
        53 =         {
            enabled = 0;
            value =             {
                parameters =                 (
                    65535,
                    107,
                    8388608
                );
                type = standard;
            };
        };
…
        55 =         {
            enabled = 1;
            value =             {
                parameters =                 (
                    65535,
                    107,
                    8912896
                );
                type = standard;
            };
        };
…

The mapping for 53 is already disabled (that's the one for "Decrease display brightness").

Running the following disables the F14 keyboard shortcut binding:

$ defaults write com.apple.symbolichotkeys.plist AppleSymbolicHotKeys -dict-add 55 "<dict><key>enabled</key><false/></dict>"

If it doesn't take effect immediately, run the following:

$ /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u

You must log in to answer this question.

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