How to set up shortcuts to quickly lock Mac OS X screen

To turn off the computer when it is needed on the Mac, you can use the password request mode when in the Sleep state. Users can set optional time and password when selecting in sleep mode. However, we can also set up shortcuts to lock the device at times of need, without having to use the password as before.

Step 1:

Click on the magnifying glass icon in the upper corner to open Spotlight Search, then open Automator . Alternatively, you can search in Other section at Launchpad.

How to set up shortcuts to quickly lock Mac OS X screen Picture 1

Step 2:

At Automator, we click the Service gear icon .

How to set up shortcuts to quickly lock Mac OS X screen Picture 2

Step 3:

Next, select the Utilities section and double click on the Run shell Script line. Then, adjust the Service receive item above to no input in any application .

Below, enter the following command line:

/ System / Library / CoreServices / "Extras Menu" /User.menu/Contents/Resources/CGSession -suspend

How to set up shortcuts to quickly lock Mac OS X screen Picture 3

Step 4:

Next go to File> Save or press Command + S and set an arbitrary name in the Save service as section . Prioritize simple naming for easy implementation in the following steps, such as Lock Screen.

How to set up shortcuts to quickly lock Mac OS X screen Picture 4

Step 5:

Go to System Preferences and select Keyboard> Keyboard Shorcuts> App Shortcut . Then press the + button to add a shortcut.

How to set up shortcuts to quickly lock Mac OS X screen Picture 5

Step 6:

At the new window, select All Applications . Under the Menu Title section, enter the previously saved name Lock Screen.

In the Keyboard Shortcut section, we can set arbitrary shortcuts to turn off the computer like Command + L. Finally click Add to finish.

How to set up shortcuts to quickly lock Mac OS X screen Picture 6

The above is a tutorial on how to use the shortcut to quickly lock the computer screen on Mac OS X. When you want to use the device, you just need to press the key combination that quickly turns off the previous machine to access the login window. only

Refer to the following articles:

  1. Find IP address and MAC address
  1. Find the router's IP address in Mac OS X
  1. 20 convenient shortcuts when using Mac OS X

I wish you all success!

3.8 ★ | 11 Vote

May be interested

  • How to change application shortcuts on Galaxy S8 lock screenHow to change application shortcuts on Galaxy S8 lock screen
    to get quick access to the application you need, at the lock screen on galaxy s8, users can adjust the application shortcut to suit their needs.
  • How to turn on the search box on the lock screen on Windows 10How to turn on the search box on the lock screen on Windows 10
    starting with windows 10 build 18932, a new experimental feature allows adding a search box on the lock screen so users can search the web using bing directly on the lock screen. and this is how to turn it on.
  • Some applications help customize the Windows Phone 8 lock screenSome applications help customize the Windows Phone 8 lock screen
    on windows phone 8 we can not customize the main screen much, but the lock screen is different. we can do quite a lot of useful things with it, from choosing beautiful wallpapers to selecting the information that will show up here.
  • How to lock screen by image on Android phoneHow to lock screen by image on Android phone
    are you bored with the default passcode lock screen of the device you are using? so make it more vivid and attractive with the way to lock the screen with images on android phones. using this method can not only beautify the device but also express your individual personality right from the unlocked screen.
  • How to quickly use iPhone maps from the main screenHow to quickly use iPhone maps from the main screen
    we can quickly look up the way home, or quickly use maps on iphone via siri shortcuts.
  • Is it safe to lock the Android screen?Is it safe to lock the Android screen?
    one of the most popular security methods today is to lock android phones with drawings. this type of screen lock is popular because it is easier to enter. in addition, no one can see you type letters or numbers when entering a password. however, is this screen lock type really safe?
  • Instructions on how to customize the lock screen on MacBookInstructions on how to customize the lock screen on MacBook
    the lock screen or the login screen of the macbook will usually have that default interface to blur the background. however, if the user wants to change the interface for the lock screen, it is very simple.
  • Quick call on the lock screen and Android notificationQuick call on the lock screen and Android notification
    currently, android users are able to make quick calls on the lock screen and notify android simply and easily. this trick is especially useful when you want to quickly call someone without doing screen unlocking and entering the dialer as before.
  • How to disable the Windows key shortcutHow to disable the Windows key shortcut
    if you're a windows user, you'll definitely see the 'importance' of the windows key on a computer keyboard. this windows key can be used to quickly access the start menu or start screen on windows os, or combine with other keys to manipulate some settings on the registry or group policy editor.
  • Add custom notifications on Android lock screenAdd custom notifications on Android lock screen
    with newer android versions (android marshmallow, android nougat and android oreo), you can also display a custom notification on the lock screen. this announcement can be a fun message like 'touch and die', or a statement of 'this is a's phone.'