Fork me on GitHub

Sleep Display by tobiastom

Sleep display is a simple application for Mac OS to put the connected monitors to sleep. After the monitors are switched off, the application quits itself.

I was looking for a simple method to lock my MacBook Air without disconnecting network services and without the usage of a mouse (or trackpack). On MacBookPros or connected external keyboards I can use CTRL+Shift+Eject to turn the monitors of. The MacBook Air does not have an eject key, so there is no way to use it. Now, whenever I leave my Mac, while it is alone in an environment I don't really trust, I can use Spotlight (or Alfred, or Quicksilver or …) to start Sleep Display. It turns the monitor off, and once I return I have to enter my password.


Download the application from and start it with Spotlight whenever the monitor should be turned of. That's it.


Tobias Tom (


You can download this project in either zip or tar formats.

You can also clone the project with Git by running:

$ git clone git://