marcode

Q: Keyboard shortcut to start screen saver / lock the computer?

Hi,

 

Is there a keyboard shortcut to start the screen saver and lock the computer?

 

Thanks,

Mac OS X, Mac OS X (10.6.7)

Posted on May 26, 2011 9:13 AM

Close

Q: Keyboard shortcut to start screen saver / lock the computer?

  • All replies
  • Helpful answers

  • by leroydouglas,

    leroydouglas leroydouglas May 26, 2011 9:47 AM in response to marcode
    Level 7 (23,789 points)
    Notebooks
    May 26, 2011 9:47 AM in response to marcode

    >System preference>Security>General

     

    /___sbsstatic___/migration-images/152/15279827-1.png

     

     

    >System preference>Desktop&ScreenSaver>ScreenSaver

     

    here select a hot corner to start screensaver

    /___sbsstatic___/migration-images/152/15279827-2.png

     

     

     

     

    MacBook Pro6,2  Mac OS X (10.6.7), 2.4GHz IntelCore i5 320 HD 8GB RAM  15"  glossy screen

  • by Seph,Helpful

    Seph Seph May 26, 2011 9:43 AM in response to marcode
    Level 1 (120 points)
    May 26, 2011 9:43 AM in response to marcode

    If you have your security preferences set to require a password after sleep or screen saver begins (System Preferences > Security) then you can use Control-Shift-Eject to turn sleep the display. It won't start the screen saver, but the display will go dark and you will need to enter your password to wake it up.

     

    Another option would be to use Automator to create a service to start the screen saver and set a keyboard shortcut to turn it on.

     

    To do this, open Automator and choose Service as the template for a new workflow. Type "screen" in the search field to locate the "Start Screen Saver" action and drag it to the workflow. Set the "Service receives selected" option to "no input". Save your workflow with the same name you want it to have in the Services menu.

     

    Next, open System Preferences > Keyboard and go to the Keyboard Shortcuts tab. In the left column, click on Services and scroll the right column down to the bottom to find the Service you just created (it will be listed under the General category). Then assign whatever keyboard shortcut you'd like to use.

  • by marcode,Helpful

    marcode marcode May 29, 2011 4:57 AM in response to Seph
    Level 1 (1 points)
    May 29, 2011 4:57 AM in response to Seph

    Thanks Seph. Putting the displays to sleep works for me.

  • by lukekowald,

    lukekowald lukekowald Nov 10, 2011 10:05 PM in response to marcode
    Level 1 (0 points)
    Nov 10, 2011 10:05 PM in response to marcode

    Seph put across some great options.

     

    Another easy way to create a shortcut to start your screen saver/lock your screen is listed at:

     

    http://lukekowald.blogspot.com/2011/11/how-to-create-mac-os-x-keyboard.html

     

    It also includes how to setup a quick Apple Magic Trackpad gesture to activate this.

  • by supermattzor,

    supermattzor supermattzor Aug 6, 2012 9:07 PM in response to marcode
    Level 1 (0 points)
    Aug 6, 2012 9:07 PM in response to marcode

    Hitting ⌃⏏ will put your display to sleep. If you don't want to use a hot corner for whatever reason (to avoid risk of accidental activation, for example) then that would be a good alternative if you require password immediately.

  • by JonnyMTC,

    JonnyMTC JonnyMTC Aug 7, 2012 1:55 PM in response to marcode
    Level 1 (0 points)
    Aug 7, 2012 1:55 PM in response to marcode

    Easiest way I have found is to set up the auto lock on the screen save like said above and then go to keyboard> keyboard shortcuts>application shortcuts and then press the + select other under the application list and naviagate to /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSav erEngine.app. Then set a hotkey and viola a lock screen that works very easily and simply.

  • by JonnyMTC,

    JonnyMTC JonnyMTC Aug 7, 2012 3:00 PM in response to JonnyMTC
    Level 1 (0 points)
    Aug 7, 2012 3:00 PM in response to JonnyMTC

    Looking at this this isnt the best way. But I have since found a better way to do it. Open up automator and select the service template. set the Service receives to no input and select any applications in the other drop down. In the left hand side drag over Launch Application. In the drop down go down to other and again go to the same path as above. (you can also go in seperately and drag the ScreenSaver Engine into the application folder and simply select the SSE as an app) Save the automation as Launch Screen Saver or anything you want. After this go back into System Prep and go under shortcuts and go to services. Scroll down until you find your service and go to the far right and add a short cut. I've found that Control-Option-Command-L is obscure enough that it will work with most applications open. If you pick a shortcut thats more used it may not work unless the finder is selected.

  • by chief quimbie,

    chief quimbie chief quimbie Aug 20, 2012 6:54 AM in response to leroydouglas
    Level 1 (0 points)
    Aug 20, 2012 6:54 AM in response to leroydouglas

    Be careful when updaing to Moutain Lion. There may be a bug where the "Require password" feature is stuck on disabled. At least for me it is stuck and I am not able to enable the feature and yes I have admin rights and I know how to unlock the preferences to make changes. When I click on the feature to enable it, nothing happens.

  • by valdur7,

    valdur7 valdur7 Mar 1, 2013 12:09 PM in response to JonnyMTC
    Level 1 (0 points)
    Mar 1, 2013 12:09 PM in response to JonnyMTC

    The Automator method worked best for me.  However, in 10.8.2, when you try and choose Screen Saver app in the dropdown within Automator, the Screen Saver is greyed out.  To work around this, just drag and drop it to automator and it should recognize it..and voila!

  • by jzondor,

    jzondor jzondor Jan 17, 2014 9:00 AM in response to marcode
    Level 1 (9 points)
    Jan 17, 2014 9:00 AM in response to marcode

    Automater seems to be the best solution to me... no extra add-ins to install and no facny coding required.

     

    This option seems good too: https://discussions.apple.com/message/7463133#7463133

  • by stuartrozier,

    stuartrozier stuartrozier Oct 7, 2014 6:33 AM in response to Seph
    Level 1 (0 points)
    Oct 7, 2014 6:33 AM in response to Seph

    Hello,

     

    i was wondering if you might be able to assist me with this task,

     

    I've follows the steps you've written, but alas no joy,

     

    stuart

  • by khimeric,

    khimeric khimeric Nov 10, 2014 12:48 PM in response to marcode
    Level 1 (0 points)
    Nov 10, 2014 12:48 PM in response to marcode

    Use Alfred.

    http://www.alfredapp.com

    I played around with Automator and some of the other apps but I find Alfred a bit more versatile. No need to have multiple keyboard short cut apps.

    So this should answer the next "what is the keyboard short cut for <blank>"

    Cheers,

    +Eric

  • by KasDave,

    KasDave KasDave Jul 24, 2015 11:27 AM in response to Seph
    Level 1 (16 points)
    iPhone
    Jul 24, 2015 11:27 AM in response to Seph

    Thank you, Seph. This worked great and I learned even more about my Mac (didn't even know I had an Automater). The only steps I'd add are make sure the Keyboard Shortcut you pick is not already being used and I had to restart my Mac to get the shortcut to work.