How to put MacBook to sleep using only an attached Windows keyboard

keyboardpower-managementsleep-wake

I have a new MacBook Pro that I leave plugged in and closed because I use an external display, keyboard, and mouse.

My monitor, keyboard, and mouse are also used by my PC.

When I'm finished with work, I'd like to be able to easily sleep the Mac so that my monitor can automatically switch over to my home PC.

Apple docs say:

Option–Command–Power button* or Option–Command–Media Eject : Put your Mac to sleep

But my Windows keyboard doesn't have a "Media Eject" or "Power" button on it.

What are my other options for easily putting my Mac to sleep?

I already know I could use the mouse to click Apple > Sleep. And I could open the lid and use the power button. But I'd prefer a keyboard command.

Best Answer

Give the Sleep command on the Apple menu a keyboard shortcut in: System Preferences > Keyboard > Shortcuts > App Shortcuts

Notes:

  • On a Windows keyboard the Windows logo key is the key.
  • System Preferences may first need to be closed for the keyboard shortcut to take affect.

enter image description here

enter image description here