oriXone

way for our Mac to sleep

Mac, sleep


Much like what's happening with our iPhone or iPad, the Mac has three things to do. Off, on or off. In fact, when we go into details there are many degrees and types of breaks, from locking the screen to shutting down the disk or deep resting.
When we use our Mac it is turned on and sometimes, especially when we do a gesture in the background, while away from the computer it needs to sleep.

A signal, our friend

When we talk about it prevent Mac from resting There are many third-party applications inside and outside the Mac App Store that fulfill this function. It is important to say that some fulfill it better than others but usually they all fulfill their mission.
However, and in particular for the purpose of reducing dependency on third-party applications, we may use the Terminal to accomplish the same purpose.

Among the advantages of using the Terminal are:

  • It will work internally or any Mac we use.
  • Utility of resources is limited.
  • Safety is high.

How to prevent Mac from resting

The command

Like all tutorials based on The terminal first we will open. We can find the app in a folder Other inside the folder Applications or use Command (⌘) + Spacebar).

Next we will copy and paste the following command (without quotes): “caffeine -ids” and press Enter (↩︎).

We'll see if the Terminal window uses the command, now we simply reduce that to peace of mind Our Mac will stay awake.

What does this command mean?

Caffeine Man

If we want to know why we should write this anonymous command and no one else do I a brief description:

  • The "caffeinate" part is the command itself and tells Mac that we want to ask you not to sleep.
  • The "i" means "idle" and prevents the Mac from working due to inactivity.
  • The "d" tells Mac not to turn off the screen.
  • And the "s" indicate that the system does not sleep either.

Simple explanation, isn't it? And by the way, if we want the Mac to sleep after some time we'll use it Caffeinate -idst X where is X seconds after which the Mac will turn off this command and go to sleep.

Leave a Comment