If you’re the only person who uses your Mac, finishing up a work session is simple. You can either turn off the machine or simply let it go to sleep, in any of several ways.
If you’re still shutting down your Mac after each use, you may be doing a lot more waiting than necessary. Sleep mode consumes very little power, keeps everything you were doing open and available, and wakes up almost immediately when you press a key or click the mouse.
To make your machine sleep, do one of the following:
Close the lid. (Hint: This tip works primarily on laptops.)
Hold down the power button () for two seconds. You get the box shown in Figure 1-27; hit Sleep (or type S).
Press Control-. In the dialog box shown in Figure 1-27, click Sleep (or type S).
Just walk away, confident that the Energy Saver setting in System Preferences will send the machine off to dreamland automatically at the specified time.
Ordinarily, closing your MacBook’s lid means putting it to sleep. And, ordinarily, putting it to sleep means cutting it off from the world. But OS X’s Power Nap feature lets your Mac stay connected to your network and to the Internet, even while it’s otherwise sleeping. It can download email, back up your stuff, download software updates, and so on. For details, see Checkbox Options.
You shouldn’t have to restart the Mac very often—only in times of severe troubleshooting mystification, in fact. Here are a few ways to do it:
Press Control- (or hold down the button) to summon the dialog box shown in Figure 1-27; click Restart (or type R).
To shut down your machine completely (when you don’t plan to use it for more than a couple of days, when you plan to transport it, and so on), do one of the following:
Press Control- (or hold down the button) to summon the dialog box shown in Figure 1-27. Click Shut Down (or press Return).
Wait. If you’ve set up the Energy Saver preferences (Color Tab) to shut down the Mac automatically at a specified time, then you don’t have to do anything.
In the Shut Down dialog box illustrated in Figure 1-27, you’ll notice a checkbox called “Reopen windows when logging back in.” That option does something very useful: The next time you start up your Mac, every running program, and every open window, will reopen exactly as they were at the moment you used the Restart or Shut Down command. The new option gives the Mac something like the old Hibernate feature in Windows—and saves you a lot of reopening the next time you sit down to work.
If you turn off that checkbox when you click Restart or Shut Down, then your next startup will take you to the desktop, with no programs running, as though this were still some year between 1984 and 2010. And if you want the Mac to stop asking—if you never want your programs and windows to reopen—open →System Preferences→General, and turn on “Close windows when quitting an application.”
If you share your Mac, then you should log out when you’re done. Doing so ensures that your stuff is safe from the evil and the clueless even when you’re out of the room. To do it, choose →Log Out Casey (or whatever your name is). Or, if you’re in a hurry, press Shift-⌘-Q.
When the confirmation dialog box appears, click Log Out (or press Return) or just wait for 1 minute (a message performs the countdown for you). The Mac hides your world from view and displays the Log In dialog box, ready for its next victim.
Logging out is described in much more detail in Chapter 13.