Open up a terminal and do these commands. The last command "schlock" will lock the screen whenever you execute it from the terminal. Of course, you can give what ever name you like. Make sure that it doesn't have space between the words, for example "screen lock". You can always give something like "screen_lock", etc.
$ echo "alias scrlock='/System/Library/CoreServices/\"Menu Extras\"/\ User.menu/Contents/Resources/CGSession -suspend'" >> ~/.bashrc $ source ~/.bashrc $ scrlock
No comments:
Post a Comment