DEV Community

Cover image for Shortcut keys to shut down Mac (MacBook Pro, Mini ...)
David
David

Posted on • Edited on

2 1

Shortcut keys to shut down Mac (MacBook Pro, Mini ...)

I am a keyboard guy and hate mouse. Moving your cursor to the far top-left corner of a 49-inch screen, and select & click the menu item, and then moving cursor back to the screen center, click OK to confirm, is too painful to me.

WFT

If you have the same experience, you are not alone!
You are not alone

If you google it, you will find that you can shut down Mac Using Keyboard Shortcut(key combination) as shown below:

Command + Option + Control + ⏏ (Eject / Power)
Enter fullscreen mode Exit fullscreen mode

However, if you like me, either you are using Mac Mini, or you don't have a keyboard with the "Eject" key, the above trick may not work for you.

In addition, I dislike doing a task by pressing 4 keys simutaneously. 3 keys, by far are the most I can afford.

What is even worse, I cannot remember the key combations, is it

  • Command + Option + Control + ⏏ or
  • Command + Shift + Control + ⏏ ?

I often confuse myself.

Solution

What I expect is something like:

Shift + Command + Q  ➟ Shut down OSX
Shift + Command + L  ➟ Lock screen
Shift + Command + R  ➟ Restart OSX
Shift + Command + S  ➟ Sleep
Enter fullscreen mode Exit fullscreen mode

Simple, intuitive and easy to remember!

Here is how to do so:

  • Click system menu, and then "System Preferences ..."

Settings

  • Select the App Shortcuts on the left, and click the "+" button on the right side panel

Click Keyboard Setting

  • In the pop up dialog, type below words EXACTLY in the "Menu Title:" box:
Shut Down...
Enter fullscreen mode Exit fullscreen mode
  • Associate the Shift + Command + Q shortcut

Shift + Command + Q

That is it.

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay