Jump to content
Sign in to follow this  
Ben428

Screen doesn't sleep after "Lock" command

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 :)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...