Before using Windows, accustomed to the Win+l shortcut lock screen, temporarily leave the computer can be very convenient to lock the machine to avoid being a spoof, the most important is a safe habit. But one of the big problems with the MacBook is that you can't find the lock screen shortcut ... Cmd+l is nothing, the methods that have been tried include
Close the lid.
Like Windows notebook, close the lid is not actually locked (lock screen), but to sleep (sleep), this will break the net, the direct result is that the download will be broken, the remote connection will be broken, if there is a continuous running program will be hung off. I in Windows will close the default operation of the lid to do nothing, even if it is to go to a meeting or temporarily take this to other places, a lid on the open or before the state, if you need to lock the computer running program or download, press Win+l and then close the lid, convenient and quick
Another problem with the lid is that if the power-on state is connected to the external monitor, close the lid just to the notebook's own screen output to turn off, nothing else has affected, completely did not play the role of the lock screen, whether it is MAC or Win all the same
Short Press the Power Key (power)
To search OS X How to lock screen, many places will mention short press the power button, but this is also sleep, the problem ibid.
Setting the trigger angle into the screensaver
Many tutorials are also taught this, the approximate process is as follows
- Enter
系统偏好设置
- In
安全性与隐私
Settings page,通用
The label card will进入睡眠或开始屏幕保护程序后要求输入密码
The time to change into立即
- In
桌面与屏幕保护程序
Settings page,屏幕保护程序
Label card lower right corner settings触发角
, behavioral selection将显示器置入睡眠状态
Note:
- The 2nd step can also be found in the
Mission Control
lower left corner of the settings page 触发角
- The trigger behavior of the 3rd step is optional
启动屏幕保护程序
, but it's not exactly the black screen lock I want.
After setting, move the mouse to the corresponding corner of the screen, stop a bit will trigger the behavior of the set. However, the trigger angle of the false trigger probability is much higher than the normal expected behavior, super Pit. If the trigger behavior is set to hold CMD, so that the triggering behavior into the mouse over the corner and press CMD to play a role, it seems a little unresponsive. Anyway, I tried, and I gave up the way to trigger the angle.
Using the Keychain
The exit rate of this method is not lower than the trigger angle.
In钥匙串访问
's Preferences,通用
The label card will在菜单栏中显示钥匙串状态
, and then you can see a lock icon on the menu bar and click on the lock to have锁定屏幕
The options
This way compared to the trigger angle is really wrong operation rate decreased, but to use the mouse to move to a specific location and then click, the complexity went up, uncomfortable
Using scripts/commands
In a variety of search" lock Mac "process actually found can be used script lock screen, generally see http://apple.stackexchange.com/questions/73995/ how-do-i-lock-the-screen-using-a-keyboard-shortcut-on-os-x-mountain-lion-with-a , I tried to run the script, but it was triggered. Windows quickly switch users instead of the lock screen effect, that is, the screen is displayed and the user interface is selected for landing. However, how to trigger the script to run too much trouble, did not continue to try
Another command under OS X 10.9 is mentioned in Http://apple.stackexchange.com/questions/111485/how-to-lock-screen-on-macbook-air. pmset displaysleepnow
The pro-test is available and is a lock screen, but the problem of triggering trouble cannot be solved
With Alfred
Alfred this artifact by default with Lock
This system directive, arouse Alfred after losing lock on the PC keyboard also aroused lock screen, but this one is the operation of a little trouble, the second is the actual effect or quickly switch users instead of lock screen
If you have local tyrants bought Alfred's Powerpack, you can try to set up a shortcut key to trigger the above script or command in Powerpack.
The real shortcut keys
in http://apple.stackexchange.com/questions/28164/keyboard-shortcut-to-sleep-a-mac This post is a complete reference to a variety of shortcut keys (the old keyboard to change Power to the Eject key):
- ctrl+shift+power: Turn off the screen
- cmd+opt+power: Sleep
- cmd+ctrl+power: Restart (restart)
- cmd+ctrl+opt+power: Shutdown (shutdown)
Through the Ctrl+shift+power finally fix how keyboard quick lock screen, but three keys or less than Windows two keys to the convenience, and MAC keyboard does not have right Ctrl, unlike windows, even if the keyboard does not have the right to Win key, palm open thumb and pinky one press Left Win One press L, both hands are not very troublesome
mapping keys
If you use an external keyboard, it is generally not the Power key of the PC keyboard layout, but it doesn't matter, we have a near position but almost no one uses the Pause/break key, with Keyremap4macbook (: https://pqrs.org/macosx/k eyremap4macbook/) Search "Pause/break" and map this to Power.
In order to save space for the menu bar, which is called the status bar, the option page is set to turn MenuBar
Show icon in menu bar
off the line, and later want to use a variety of evoking the application of the way to find the Keyremap4macbook is
Various methods of MAC lock screen