This will put a lock in your menu bar and you can click Lock Screen to lock your screen. If you need a keyboard shortcut, you can add this in your keyboard under Settings. Also, here are steps to use a shortcut to put your computer in screen saver mode which locks your Mac at the same time. KeyRemap4Macbook is free, and it shows up in System Preferences after installing. Now you can lock your computer by pressing Control - Shift - Eject. This puts the computer to sleep, but because we've told it to lock on sleep, it also locks it. If your computer doesn't have an eject button, you will need to create your own custom shortcut.
Unfortunately, you can only create shortcuts for menu items and services. Fortunately you can create a service to put the display to sleep and thus lock the screen , and you can assign a shortcut to the service. For instructions on how to do this, see this Macworld page. Click on Add. See the Apple menu an apple icon in the top left corner.
The Sleep entry should show the shortcut you have defined. The shortcut should work right away. Note that Finder and possibly some other applications would only react to the shortcut after the reboot.
How to lock your screen in OS X
You can also log out to the fast user switching screen, but it doesn't turn off displays. Just assign a shortcut to this shell command:. Note that there's also an alternative method which frees you of remembering obscure key combinations and uses English or other words instead: with Alfred or possibly Quicksilver not sure tho , you can invoke actions such as locking the screen, all via a single hotkey and a bunch of commands in plain language.
OSX's Spotlight is moving in the same direction — but I'm not sure if it's quite there yet; though you probably can run AppleScript files with it. You can install the tiny, free SleepDisplay application, and assign it to any key in the Microsoft Keyboard section of System Preferences. Once you've created a "Lock Screen" service in Automator as described by markhunte's answer , you simply add it to Apptivate:. And that's it!
Now you have a "Lock Screen" keyboard shortcut that can be used in any application. My system version is Yosemite And the method posted by markhunte is still working except that you need input username everytime after you suspend the system. It's a little annoying to me. So changed the script from:. Sign up to join this community.
Subscribe to RSS
The best answers are voted up and rise to the top. Home Questions Tags Users Unanswered. Ask Question. Asked 6 years, 8 months ago. Active 11 months ago. Viewed 77k times. Does your keyboard have an eject button? As far as I can tell, it does not have an eject button. Now try the shortcut from the keyboard. Since accessing the Apple menu or Spotlight and other menu extras require moving your mouse to the top of your display, I recommend using one of the bottom two corners for enabling the screensaver and locking the display, especially if you have the screen lock set to activate immediately when the screensaver starts.
Sleep the system Since the screen lock will activate when you sleep the system, you can also simply do this from the Apple menu or by using a hot key , and thereby lock your system; however, as with logging out this will also prevent processes from running in the background, and may even disconnect you from active network services. Sleep the display OS X supports a display sleep mode that will keep your system active but turn off the display, which can be enabled using the Shift-Control-Eject hot-key sequence.
As with system sleep and the screensaver, this mode will also activate the screen lock timer, so if you have the timer set to run immediately, then this will in effect lock the display. This has the added benefit of turning off the display which can save power, especially for laptop users. The Keychain Access menu can be used to lock your screen. In the menu that appears which should look like a lock , you can select the "Lock Screen" option to require a password.
This feature is beneficial because it will activate the lock regardless of any time limits you have it set to for other services like the screensaver or sleep.
Fast user switching A final approach to locking your Mac is to use the log-in window and Apple's Fast User Switching feature enabled by default in more recent versions of OS X, but which can be enabled in the "Login Options" section of the Accounts system preferences on older versions of OS X.
When enabled, this feature will present your username in the top-right of the menu bar, and if you click your name you will see a list of other users on the system along with a "Login Window" option. If you select the log-in window then the system will keep your account active including running applications , and return you to the log-in window where you will be required to select your account and supply your password before resuming your work. I've been using this method since I posted this answer. It still works great.
Table of Contents:
My only compliant is that it takes up to 10s to switch to the Login Window. Calling the command line from terminal takes about 8s, so 2s is the Automator activating and 8s is the actual CGSession call. It seems the Art of Geek website is gone? Mark Thalman Mark Thalman 10 10 silver badges 15 15 bronze badges. It doesn't hurt to test it now by pressing the "Play" button Now save your Workflow.
- How to lock your Mac screen with a keyboard shortcut!
- Mac keyboard shortcuts.
- Sleep, log out, and shut down shortcuts;
- play your cards right mac miller mp3!
- About The Author.
- lemmings game mac os x.
Make sure at the top of this Service that you select "no input" for "Service receives" Test some more Now comes the real "magic" Now save your Service give it a human-readable name like "Lock My Screen Service" Go to the "APple Menu" and open up "System Preferences" Select "Keyboard" In this section choose "Keyboard Shortcuts" Select "Services" on the left On the right hand side scroll all the way to the bottom under "General" and you will find "Lock My Screen Service" There is a grayed-out text to the right that says "none", which means that no shortcut has been assigned, so click on it and an "add shortcut" button appears.
Click on it. Now press your desired combination i.
Close out and test it by pressing the button. Keychain Access menubar accessory has been removed for at least the last two major versions of macOS not present in Alternative to this is the "Fast User Switching" process, with similar need to utilize an Automator workflow to expose the command-line invocation as a menu item, which can be assigned a keyboard shortcut via Keyboard System Preferences. Edit security settings to require a password to wake up from screen saver, throw this line into an apple script: tell application id "com.
Engine" to launch If you have quicksilver you can then setup a trigger to launch the applescript using whatever keystroke you like. Bryan Schuetz Bryan Schuetz 1, 11 11 silver badges 17 17 bronze badges. Simon Sheehan 7, 12 12 gold badges 45 45 silver badges 69 69 bronze badges. Sky Sky 41 1 1 bronze badge.
Locking the screen Option 1: Enable the Keychain menu extra in the preferences of Keychain Access and select Lock Screen from the menu. Lri Lri Below is a tweak on Alejandrormz's Automator steps. GeneQ GeneQ 4, 2 2 gold badges 30 30 silver badges 53 53 bronze badges. But the question asked "is there a keystroke" to do it.
The answer would be, no, not officially. But if you're willing to suffer then yes, there is a keystroke. This logs you off, downvoted. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.
- programa para unir varios pdf mac.
- format encrypted mac hard drive;
- free trial download photoshop for mac!
- How to Instantly Lock your Mac OS X Screen in Lion | Amsys!
- autocad lt for mac review.
- Subscribe to RSS.
Featured on Meta. Congratulations to our 29 oldest beta sites - They're now no longer beta!
Create a screen-locking keyboard shortcut - Mac OS X Hints