Lock Screen and Sleep Display with Quicksilver
Looking for a quick way to lock your screen and put the display to sleep on Mac OS X using Quicksilver?
- Download Sleep Display.
- Extract the zip file and move SleepDisplay to your Applications folder.
- Run the SleepDisplay application at least once.
- Fire up Script Editor and enter the following code:
do shell script "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" launch application "SleepDisplay" - Save this script to a location cataloged by Quicksilver.
- Create a HotKey Trigger in Quicksilver to run the script. I use command-control-shift-S as my keystroke combination.
I’m running Mac OS 10.5.1 on an iMac and this works great!
12/18/2007 at 7:16pm
can it run on Linux such as SUSE linux?
12/18/2007 at 7:46pm
No, this is an AppleScript.
1/8/2008 at 9:06am
It crashes my MacBook running 10.5.1. When I try to wake up, I got a login window, I log in, but then nothing. The login window disappears, and the “cosmos” picture of Leopard stays, using the whole screen. No menu bar, no desktop, no desktop picture, no nothing.
Shortcuts works (I tried option-command-eject and the quicksilver trigger). And my cursor is visible and I can move it. But that’s it. I had to force shutdown…
1/8/2008 at 12:37pm
Mine seems to have stopped working too. I wonder if a recent update did something.