Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

When I press F4, it no longer summons LaunchPad. F3 still invokes Mission Control, and the other function keys, without modifiers, have their respective meanings (volume, play, etc), but I can only invoke LaunchPad with my hot corner or the Dock button.

How can I reset this to default behavior?

share|improve this question
    
When I create a new user, the key works, which suggests it's some Preference file. –  Daniel Lawson Sep 10 '11 at 16:15

4 Answers 4

up vote 4 down vote accepted
+50

One solution is to rm ~/Library/Preferences/com.apple.symbolichotkeys.plist and log out and back in. I just tried this and it seems to have restored the binding, no hack like FunctionFlip required. My other special keys all work, too. However, I lost my other customized Keyboard Shortcuts, like ctrl+ for switching spaces Mission Control. They worked after I re-enabled them.

It looks like com.apple.symbolichotkeys.plist is the preferences file, and MacOS works fine if it's missing. After I'd edited my Keyboard Shortcuts via the preferences panel that file was recreated and everything's back to normal except Launchpad launches again. Based on a diff of the two plist files I'm guessing the keycode for Launchpad is one of 118, 119, 64, or 65.

I found this solution on a MacRumors discussion.

share|improve this answer

To not lost your custom shortcuts, open ~/Library/Preferences/com.apple.symbolichotkeys.plist, look for the key named "160". Edit it as follow:

enter image description here

Then Log Out and back in.

share|improve this answer
    
Editing the plist without Property List Editor: plist=~/Library/Preferences/com.apple.symbolichotkeys.plist; plutil -convert xml1 $plist; open $plist -a TextEdit –  ؘؘؘؘ Oct 6 '11 at 7:20
    
Or use TextWrangler, with no conversion commands at all in Terminal –  Daniel Lawson Jan 24 '12 at 2:55

I lost the F4 binding too, and after some investigation I got it working again. It's a bit of a hack, but here's what worked:

  1. Install FunctionFlip, a free preference pane to modify the function keys.
  2. In FunctionFlip click F4: Launchpad, so it's checked.
  3. In System Preferences / Keyboard / Keyboard Shortcuts, doubleclick on the keybinding for Show Launchpad and press F4.

FunctionFlip should not be necessary: it should be enough to set the binding in Keyboard Shortcuts. The problem is by default the F4 key does not actually send the keycode for F4, it sends the magic code for LaunchPad. (Just like F8 isn't F8, it's pause iTunes.) And the Keyboard preferences pane won't let you bind that magic LaunchPad key. FunctionFlip solves the issue by making it so the F4 key really sends F4.

Note that FunctionFlip is a bit tricky. For it to work, you have to enable System Preferences / Universal Access / Enable access for assistive devices. Also there's a "Start FunctionFliip at Login" preference that you probably want to enable.

The FunctionFlip page points to two tutorials for LaunchPad: TUAW and Josh Sunshine's. Same procedure as I describe above.

share|improve this answer
    
I like that, but don't want to lose F4 as a separate key from LaunchPad. Great workaround, but I'm looking for a fix. As I said, I suspect it's a preference file. –  Daniel Lawson Sep 10 '11 at 16:16
    
Please see my edit for a different fix. I think I found your preference file. –  Nelson Sep 10 '11 at 16:33
    
I want to accept this and award the bounty, but can you make your second solution a separate answer? I like them both, and want to up vote them both, but the second is the one I want to document as the best one. –  Daniel Lawson Sep 10 '11 at 16:38
    
ok, done. sorry for so many edits! –  Nelson Sep 10 '11 at 16:45

Ok, this is pretty weird. The item for Show Launchpad has to be checked (but not necessarily assigned to any regular shortcut) for fn+F4 to work:

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.