Full Screen ShortcutJuly 26th, 2011
One of the things missing from Lion’s full-screen support is a standardized keyboard shortcut for switching modes. Before Lion, it was entirely up to developers to implement the behavior, appearance, and activation mechanisms for entering full-screen mode. Now, we are treated to standard “Enter Full Screen” buttons on qualified windows, and with standard “Enter Full Screen” and “Exit Full Screen” menu items for toggling modes. But there’s still no standardized shortcut.
Early in my testing of Lion, I decided to fix this using Apple’s mechanism for redefining keyboard shortcuts of specifically named menu items. For me, Cmd-Ctrl-Return makes a good toggle shortcut for switching any given app or window between regular and full-screen modes.
To do the same on your OS X Lion machine:
- Open System Preferences.
- Click the “Keyboard” preference pane.
- Switch to the “Keyboard Shortcuts” tab.
- Click the “+” button to add new shortcuts for “Enter Full Screen” and “Exit Full Screen”.
I find myself more likely to embrace full-screen mode and switch in and out fluidly when I can do so with a standard keyboard shortcut.
Update: Eric Schlegel points out on Twitter that Cmd-Ctrl-F is the “standard” for full-screen mode, but that some Apple apps don’t follow the standard. Perhaps that would be a better choice for this global setting as well.
July 26th, 2011 at 1:48 pm
Great tip! Keep them coming. They are really useful.
One precision: the Menu Title field must be filled with the exact name of the menu option triggered by the keyboard shortcut. So in a non-English OS, users must refer to the way “Enter Full Screen” is written in any given applications (under Menu>Presentation
July 26th, 2011 at 3:57 pm
There is in fact a standard shortcut: Command-Control-F. See Menus->The View Menu in the HIG. Safari, Mail, iCal and Xcode use it, but Terminal does not.
July 26th, 2011 at 5:14 pm
It could be more convenient to modify .GlobalPreferences directly:
defaults write -g NSUserKeyEquivalents -dict-add “Enter Full Screen” “^f” “Exit Full Screen” “^f” “Full Screen” “^f” “Full Screen Mode” “^f” “Normal Screen” “^f”
(^@f = âŒƒâŒ˜F)
July 26th, 2011 at 11:35 pm
To exit full screen, ‘esc’ often works too.
July 28th, 2011 at 11:49 pm
I’ve tried doing this. The shortcut is set, but only occasionally works. What are the conditions for this to work, because it seems like it only works right after the window gets focus.
August 1st, 2011 at 10:23 am
Set mine as Command + Shift + F so that it is the same shortcut as Firefox Full screen! Wonderful!
August 2nd, 2011 at 4:12 pm
The most horrible thing is iTunes: It uses the standard CTRL CMD F but als CMD F alone. And there is no “place cursor in search field” anymore.
Nice work, Apple. Read your own HIG!
August 4th, 2011 at 5:30 pm
“The most horrible thing is iTunes: It uses the standard CTRL CMD F but als CMD F alone. And there is no “place cursor in search field” anymore. Nice work, Apple. Read your own HIG!”
Check your facts. It is, and always has been, Option-Command-F to place the cursor in the search field.
August 20th, 2011 at 12:14 pm
Yes, you are right. I corrected that shortcut a long time ago, so I totally forgot about the original absurdity.
However being consistent here, instead of finally changing that shortcut to comply with their own platform’s standard, was really not the best idea! They even made it worse by assigning two nearly identical shortcuts to the same function, while ignoring their own standards in the process once again (CTRL-CMD-F is the standard shortcut for fullscreen, _not_ CMD-F).