Various Mac lock methods and Mac lock Methods
I used Windows to get used to the Windows + L shortcut key lock screen. When I leave my computer, I can easily lock the machine to avoid being spoofed. The most important thing is a safe habit. but one of the major problems I encountered after changing my MacBook was that I couldn't find the screen lock shortcut... cmd + L is nothing. Methods tried include
Close Lid
Like a Windows notebook, closing the lid is not actually locking the screen, but Sleep. This will disconnect the network. The direct consequence is that the download will be disconnected and the remote connection will be disconnected, if a program runs continuously, it will also fail. in Windows, I will change the default operation of closing the lid to nothing. Even if I go to a meeting or temporarily bring the book to another place, the lid will go to the open or previous state, if you need to lock the computer to run the program or download it, press Win + L to merge it, which is convenient and fast
Another problem with lid combination is that if an external monitor is mounted at startup, closing the lid will only turn off the screen output of the notebook. Nothing else will affect the screen lock, both Mac and Win are the same.
Short press Power)
How to lock the screen when searching for OS X? Press the power button in many places. Unfortunately, this is also sleep, and the problem is the same as above.
Set the trigger angle to screen saver
Many tutorials also teach this, the general process is as follows
- Enter
System preference settings
- In
Security and Privacy
Settings page,General
Label card willEnter the password after Entering sleep or Starting Screen Saver
Time to changeNow
- In
Desktop and Screen Saver
Settings page,Screen Saver
Label card lower-right corner settingsTrigger Angle
, Behavior selectionPlace the monitor into sleep state
Note:
- You can also
Mission Control
In the lower left corner of the settings page, findTrigger Angle
Settings
- You can also select the trigger action in step 1.
Start Screen Saver
But this is not the lock method that I want to completely black the screen.
After setting, move the mouse to the corresponding corner of the screen and stop at it to trigger the set action. however, the false trigger probability of the trigger angle is much higher than that of the expected behavior. if you hold down Cmd when setting the trigger behavior, it turns the trigger behavior into a corner and press Cmd to take effect. This seems a little slow. I tried it and gave up the trigger angle method.
Use Key string
The outbound rate of this method is no lower than the trigger angle.
InKey string access
In the preference settings,General
Label card willDisplay the key string status in the menu bar
In the menu bar, you can see a lock icon.Lock Screen
Options
Compared with the trigger angle, this method actually reduces the misoperation rate. However, when you move the mouse to a specific position and then click it, the complexity is increased, which is unpleasant.
Script/command
In the process of searching for "lock mac", I still find that I can use the script to lock the screen. For more information, see the statement in the http://apple.stackexchange.com/questions/73995/how-do-i-lock-the-screen-using-a-keyboard-shortcut-on-os-x-mountain-lion-with-a. I have tried to run the script, however, it is triggered by a quick User Switching in Windows instead of a screen lock, that is, the screen is displayed and the user's interface is selected to log on. however, it is too difficult to trigger the script to run.
In the http://apple.stackexchange.com/questions/111485/how-to-lock-screen-on-macbook-air, I also mentioned anotherpmset displaysleepnow
Command, which is available in the test and locked, but it still cannot solve the problem of triggering the trouble
Use Alfred
By default, the Alfred artifact comesLock
This system command can also evoke the screen Lock on the PC keyboard after the Lock is triggered by Alfred. Unfortunately, this operation is a little troublesome, and the other is the actual effect is to quickly switch the user rather than the screen Lock.
If a local tyrant buys Alfred's Powerpack, you can try to use the shortcut key to trigger the above script or command in Powerpack.
Real shortcut keys
In the http://apple.stackexchange.com/questions/28164/keyboard-shortcut-to-sleep-a-mac this post more complete mention of the various shortcut keys (on the old keyboard to change Power into Eject key ):
- Ctrl + Shift + Power: Close the screen
- Cmd + Opt + Power: sleep)
- Cmd + Ctrl + Power: restart (restart)
- Cmd + Ctrl + Opt + Power: shutdown)
Ctrl + Shift + Power finally solved how to quickly lock the screen on the keyboard, but the three keys are not as convenient as the two keys in Windows, and the Mac keyboard does not have the right Ctrl, unlike Windows, even if the keyboard does not have the right Win key, the palm opens your thumb and the finger one press left Win one press L, and the left and right hands are not very troublesome.
Ing key
If you use an external keyboard, there is usually a PC keyboard layout without the Power key, but it doesn't matter. We have a Pause/Break key that is close to the position but almost nobody uses it, with KeyRemap4MacBook (: https://pqrs.org/macosx/keyremap4macbook/) search for "Pause/Break", map this to Power
In order to save some space for the menu bar (menu bar, also called status bar ),MenuBar
SelectShow icon in menu bar
You just need to turn it off. If you want to use it in the future, you can find the KeyRemap4MacBook in a variety of ways that call applications.
Methods for non-toxic side effects
Windows is used to Win + L shortcut lock, so how to operate on Mac, small make up to provide two methods without installing any software non-toxic and no side effects.
First, enable sleep or Start Screen Saver. Then, enter the password and choose system preference settings-security and privacy.
Method 1:
1. Choose "Finder"> "application"> "utility"> "key string access", or click "Spotlight" in the upper-right corner of the Mac screen to search for "key string ";
2. Click "key string access" in the top menu bar of the Mac and select "preference settings ";
3. Select the first option "display the key string status in the menu bar ";
4. A lock icon will appear in the top menu bar of the Mac. When you want to lock the screen, click the first "lock screen" item ".
Method 2:
If you do not like the lock on the menu bar, try method 2.
1. system preference settings-Mission Control-trigger angle;
2. Select an Active Screen angle and set it to "place the monitor into sleep state ";
3. Each time you move the mouse over the corner, the action is immediately executed, similar to the mouse gesture.
Select one of your favorite methods.