Ben428 Posted June 4, 2013 Share Posted June 4, 2013 I was looking for a way to easily lock my screen at work and was pleased to discover that there's a command for that in Alfred. However, I've recently realized that when I lock the screen in this manner, the screen doesn't sleep as set in Energy Saver preferences. Link to comment Share on other sites More sharing options...
RodgerWW Posted June 5, 2013 Share Posted June 5, 2013 In terminal, if you type: pmset sleepnow This will put the computer to sleep, and this appears to be what Alfred does. But, if you make a new workflow to simply run your screensaver with: open /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app Whatever your screensaver is set to will run when you type a keyword or hit a key combo ... depending on how you want to active it with Alfred. Link to comment Share on other sites More sharing options...
Vero Posted June 14, 2013 Share Posted June 14, 2013 I was looking for a way to easily lock my screen at work and was pleased to discover that there's a command for that in Alfred. However, I've recently realized that when I lock the screen in this manner, the screen doesn't sleep as set in Energy Saver preferences. I use the screensaver keyword instead and set OS X to require password when coming back from screensaver in System Preferences > Security & Privacy > General. It's a nice easy way to do it Link to comment Share on other sites More sharing options...
RodgerWW Posted June 14, 2013 Share Posted June 14, 2013 The screensaver method does work, but, some folks don't use the screensaver at all. I have cats, and they HATE my screensavers, so I just set my display to sleep after awhile. But, it would be nice to sleep the computer after awhile too. So, sleep display after 10 mins, and sleep after 1 hour. So, I found that setting a required password after sleep OR screensaver in Security & Privacy in system prefs usually does the trick. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now