Stop the power button from putting your Mac in stand-by (sleep) mode

power button

Since OS X 10.9 mavericks, the behavior of the power button has been changed. When you press the power button for about 2 seconds, it will put macOS (OS X) in stand-by (sleep) mode.

With the following command you can use the power button function as in previous versions of OS X. By showing a dialog box for turning off the Mac and more.

Read moreStop the power button from putting your Mac in stand-by (sleep) mode

Reset OS X/macOS Dock to default settings

dock icon

There is a Terminal command that you can use to quickly make your dock look like new again. Do you experience problems with the Dock on your Mac? The best you can do is to reset it to default settings.

The following Terminal command will reset your dock by removing any icons that you’ve added and removed. It’ll also reset the size of the dock, magnification settings, and its location.

Read moreReset OS X/macOS Dock to default settings

Enable Reminders debug menu and force a manual update

Some of the built-in macOS applications have the possibility to activate a ‘special’ debug menu. One of these applications is Reminders, the debug menu gives you the option to manually Update/Refresh with your iCloud account.

Quit the Reminders application and start a Terminal window, apply the following command:

Read moreEnable Reminders debug menu and force a manual update