StickyC Posted October 21, 2014 Share Posted October 21, 2014 On OS-X, there's a few ways to 'Lock' the Mac. One is to manually lock it using the keychain or keyboard shortcut, the other is to let the screensaver lock the mac after a timeout. When locked manually, OS-X disconnects the network, exposing a bug is OS-X where unlocking doesn't re-establish network connectivity without manually disconnecting/reconnecting the network. Unfortunately, this also happens when using Alfred to Lock the Mac (via typing "lock"). The network disconnect does not happen if the Mac is locked via screensaver timeout. It would be nice if Alfred allowed the user to disable shutting down the network connection when locking the screen. Link to comment
Andrew Posted October 22, 2014 Share Posted October 22, 2014 It would be nice if Alfred allowed the user to disable shutting down the network connection when locking the screen. Alfred doesn't have control over the network when performing the lock action. I think I saw a workflow which performed some AppleScript to lock the display instead of suspend the session which may give you better results but I can't see this now. [moving to help sub-forum] Link to comment
jdfwarrior Posted October 24, 2014 Share Posted October 24, 2014 On OS-X, there's a few ways to 'Lock' the Mac. One is to manually lock it using the keychain or keyboard shortcut, the other is to let the screensaver lock the mac after a timeout. When locked manually, OS-X disconnects the network, exposing a bug is OS-X where unlocking doesn't re-establish network connectivity without manually disconnecting/reconnecting the network. Unfortunately, this also happens when using Alfred to Lock the Mac (via typing "lock"). The network disconnect does not happen if the Mac is locked via screensaver timeout. It would be nice if Alfred allowed the user to disable shutting down the network connection when locking the screen. Alfred doesn't have control over the network when performing the lock action. I think I saw a workflow which performed some AppleScript to lock the display instead of suspend the session which may give you better results but I can't see this now. [moving to help sub-forum] If your machine is set to require a password to return from the screensaver could essentially perform the same task. You would just use the keyword you set to activate the screensaver. You may want to adjust the timeout for when the password is required in the Security and Privacy settings in OS X. Link to comment
jrozelle Posted November 12, 2014 Share Posted November 12, 2014 Hello, Same problem here. I expect Alfred to "lock screen" (like with keychain option) when I type "lock", not disconnect networks. It would be great :-) Link to comment
Awfki Posted July 14, 2015 Share Posted July 14, 2015 Disconnecting the network when locking the screen isn't acceptable. Is there an alternative was to have Alfred (or something else) lock the screen? A workflow or something? The Lock option in Alfred is nice but it's broken. Link to comment
Awfki Posted July 14, 2015 Share Posted July 14, 2015 After some more Googling I this which suggests running the screen saver with it set to require the password immediately and I created a workflow that starts the screen saver with either "Lock" or cmd+L. It's a workaround but it'll do for now. I do understand that the broken lock command is an Apple bug. Link to comment
Andrew Posted July 21, 2015 Share Posted July 21, 2015 After some more Googling I this which suggests running the screen saver with it set to require the password immediately and I created a workflow that starts the screen saver with either "Lock" or cmd+L. It's a workaround but it'll do for now. I do understand that the broken lock command is an Apple bug. Screensaver with password is the best option and what I also use Link to comment
deanishe Posted August 5, 2015 Share Posted August 5, 2015 (edited) There are a couple of ways to turn off your display (which locks the machine if you have set it to require a password immediately after sleep/screensaver). This doesn't mess up the network connection (in my experience), nor continue to draw power for the display (like with a screensaver). You can use the keyboard shortcut CTRL+SHIFT+EJECT or CTRL+SHIFT+POWER (depending on which button your Mac has). Alternatively, the shell command pmset displaysleepnow does the same thing, if you want to use an Alfred keyword. There are also a few apps that do the same thing. Edited August 12, 2015 by deanishe Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now