Sub topic 15
Hot Corners
What you need first
This chapter assumes you can open System Settings and move around its sidebar. You should also know what Mission Control, the Desktop, and Notification Center are, which earlier chapters cover. The Terminal section at the end is optional.
What a Hot Corner is
A Hot Corner is an action that runs when you push the pointer into one of the four corners of the screen. You can assign each corner its own action or leave it unassigned. Hot Corners are a pointer shortcut. They need no click, no key press, and no menu.
They sit next to the other desktop navigation tools. Mission Control shows your windows and Spaces. The Desktop corner clears windows out of the way. Notification Center holds your alerts. A Hot Corner starts any of these from a flick of the pointer.
Setting up Hot Corners
- Open System Settings and choose Desktop & Dock in the sidebar.
- Scroll to the bottom of the page and click Hot Corners.
- Each corner has a pop-up menu. Pick an action for each corner you want to use.
- Click Done.
The change takes effect immediately. You don't need to restart anything.
Available actions
The list differs slightly between macOS versions. These actions are the common ones.
| Action | What it does |
|---|---|
| Mission Control | Shows all open windows and your Spaces |
| Application Windows | Shows only the windows of the frontmost app |
| Desktop | Moves open windows aside to reveal the desktop |
| Notification Center | Opens the notification and widget panel |
| Launchpad | Opens the app grid, on versions that still include it |
| Quick Note | Opens a new note in a small window |
| Lock Screen | Locks the Mac immediately |
| Put Display to Sleep | Turns off the display without logging you out |
| Start Screen Saver | Starts the screen saver now |
| Disable Screen Saver | Stops the screen saver from starting while the pointer rests in that corner |
| – (dash) | No action |
Some versions of macOS assign Quick Note to the bottom-right corner by default. If a small note window keeps appearing when you reach for that corner, this is the cause.
How triggering works
The pointer must reach the corner pixel, and it must rest there for a short moment. Passing quickly through a corner usually does nothing. Dragging an item into a corner can also trigger the action. This is useful when it is deliberate, for example dragging a file to the Mission Control corner and dropping it on another Space. It is a nuisance when it isn't.
Requiring a modifier key
A bare Hot Corner is easy to trigger by accident. You can require a modifier key as well. Open the corner's pop-up menu, hold the modifier key (Shift, Control, Option, or Command), and choose the action while still holding it. The menu then shows the action with the modifier symbol next to it, such as ⌘ Mission Control. From then on, that corner fires only when you hold the same key as the pointer arrives.
This is the practical fix for a corner you like but trigger too often. It works well for destructive or disruptive actions such as Lock Screen or Put Display to Sleep.
Edge cases and common problems
Accidental triggers
These are the most common complaints. Typical causes:
- Closing, minimizing, or zooming a window with the buttons in the top-left corner of a window pulls the pointer toward the top-left Hot Corner.
- Reaching for the menu bar's far right end, where the clock and Control Center sit, drifts into the top-right corner.
- Games and full-screen apps that capture the pointer can fire a corner mid-play.
Remedies are to move the action to a different corner, require a modifier, or set the corner to the dash for no action.
Multiple displays
Each display has its own four corners, but only the outer corners of the combined arrangement are easy to hit. Where two displays meet, the pointer slides across to the next display instead of stopping in the corner. If a corner seems dead on a multi-display setup, check whether that corner lies on an inner edge. If your arrangement leaves a gap, rearrange the displays in System Settings under Displays.
Lock Screen and security
The Lock Screen corner locks your session at once, and you must authenticate to return. It is convenient on a shared desk, but it will interrupt you if triggered accidentally. A modifier requirement is wise here. The Lock Screen action is a convenience, not a replacement for your lock-on-sleep settings.
Corners that seem to do nothing
If a corner has no effect, check these causes in order:
- The corner is set to the dash.
- A modifier is required and you aren't holding it.
- The pointer is moving through the corner too fast, or stops one pixel short of it. Push slightly past the edge and hold briefly.
- A full-screen app is intercepting the pointer.
Hot Corners from Terminal (optional)
Hot Corner settings live in the Dock's preferences domain, com.apple.dock, so the defaults command from the Dock chapter can read and change them. Each corner has two keys, a corner action and a modifier. Their names use tl (top left), tr (top right), bl (bottom left), and br (bottom right).
Action codes: 0 no action, 2 Mission Control, 3 Application Windows, 4 Desktop, 5 Start Screen Saver, 6 Disable Screen Saver, 10 Put Display to Sleep, 12 Notification Center, 13 Lock Screen, 14 Quick Note. Modifier codes: 0 none, 131072 Shift, 262144 Control, 524288 Option, 1048576 Command.
# Top-left corner: Mission Control, no modifier
defaults write com.apple.dock wvous-tl-corner -int 2
defaults write com.apple.dock wvous-tl-modifier -int 0
# Bottom-right corner: Lock Screen, only while holding Command
defaults write com.apple.dock wvous-br-corner -int 13
defaults write com.apple.dock wvous-br-modifier -int 1048576
killall DockTo return both corners to their defaults:
defaults delete com.apple.dock wvous-tl-corner
defaults delete com.apple.dock wvous-tl-modifier
defaults delete com.apple.dock wvous-br-corner
defaults delete com.apple.dock wvous-br-modifier
killall DockSummary of decisions
- Use a bare corner for low-cost actions you want instantly.
- Use a modifier for any action that interrupts you if fired by mistake.
- Use the dash for any corner you keep hitting by accident.
- On multiple displays, prefer outer corners.
Exercise
You assigned Lock Screen to the top-right corner. It keeps locking your Mac when you reach for the Control Center icon. Name two ways to stop this without losing the Lock Screen shortcut entirely.
Show answer
First, move Lock Screen to a corner you rarely approach, such as the bottom-left. Second, keep it in the top-right but require a modifier key. Open the corner's pop-up menu, hold a key such as Command, and choose Lock Screen. The corner then fires only when you hold that key.
Exercise
In Terminal, which two preference keys control the bottom-left corner, and what must you run afterward for the change to apply?
Show answer
The keys are wvous-bl-corner (the action code) and wvous-bl-modifier (the modifier code), both in the com.apple.dock domain. Run killall Dock afterward so the Dock restarts and reads the new values.