brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: Control-F2 puts the keyboard focus on the Mac menu bar

macOS
~/tips/tip-macos-control-f2-menu-bar-focus

Control-F2 (or Fn-Control-F2) focus the menu bar

Lets you open and choose menu bar items on your Mac using only the keyboard.

The Mac menu bar is great until both hands are on the keyboard and the command you want has no shortcut. Reaching for the trackpad to dig through the Edit menu is slow. macOS can move the keyboard focus straight to the menu bar, and from there you drive the menus with the arrow keys and by typing.

Press Control-F2 and the focus moves to the menu bar. The arrow keys walk through the menus, Return opens a menu or chooses an item, and you can type the name of a menu item to jump to it.

Control-F2 (or Fn-Control-F2)   focus the menu bar
Control-F3 (or Fn-Control-F3)   focus the Dock
Control-F8 (or Fn-Control-F8)   focus the status menus

An example: in Preview, press Control-F2, Right Arrow to the File menu, Return to open it, type “exp” to land on Export, and Return. You never touched the trackpad. Control-F3 does the same trick for the Dock.

The caveat is the top row of a MacBook keyboard. F2 is the brightness key there, so press Fn as well (Fn-Control-F2), unless you set the top row to act as standard function keys. Apple also says some of these focus shortcuts first have to be switched on: go to System Settings, Keyboard, Keyboard Shortcuts, select Keyboard on the left and tick the shortcut. If Control-F2 only changes the brightness, that’s the place to look.

Further reading: Mac keyboard shortcuts (Apple Support)

More macOS tips System Settings > Accessibility > Hover Text > When using the pointer A Smart Folder in Notes collects notes by tag, checklist or date Type # in a Mac note to tag it, then filter by tag in the sidebar tmutil isexcluded ~/Projects/app/node_modules Crop an image in Preview by dragging a frame and clicking Crop All macOS tips (99) All topics

Link