Imported from the Apple Support Forums via the Wayback Machine 🔗
So I'm hoping someone can help me figure out a way to lock the screen when I close my macbook lid.
I know what you're thinking... doesn't the system go to sleep when the lid is closed? Shouldn't that lock the screen anyways?
So I've never really liked the "sleep on lid close" behavior since I actually need apps running even in clamshell mode. To facilitate this, I make use of InsomniaX to prevent the system from going to sleep on lid close.
Now that brings me back to my original question - given the new InsomniaX related information, how can I trigger a screen lock when the lid is closed? Is this possible?
Alternatively, if I can trigger a script on lid close, that would work as well.
Imported from the Apple Support Forums via the Wayback Machine 🔗
Not sure how much I can help here, but if you go to System Preferences>Security>General, it looks like you can set it to require a password immediately after sleep or screen saver begins. If your Mac doesn't sleep, does it go to a screensaver? You can also require a password for every preference pane.
Also, there are "Hot Corners" if you go to "Exposé and Spaces". You could set up a hot corner which would go to the screen saver and require a log in to get back in. You'd just go to the hot corner before closing the lid.
Would any of this work as the lock you envision?
0
zazar.alcazar·
Imported from the Apple Support Forums via the Wayback Machine 🔗
So I have other ways of locking the screen - that's not the issue. I want the screen to lock specifically when the lid is closed. On linux systems (most distributions), one can use acpid to trigger stuff on lid close event. I'm trying to figure out if this can be done on OS X.
I'm sure there's got to be a way - just need to find someone who knows 🙂.
0
S.U.·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Unfortunately, I don't know how to do this. I think there could possibly be a way to set it up in Terminal. If you don't get another response here, you might try your question on the Snow Leopard forum where the software experts hang out. It's entirely possible they could come up with a terminal command for this, or know how to set a preference or something that would specifically do what you want.
Good luck!
0
zazar.alcazar·
Imported from the Apple Support Forums via the Wayback Machine 🔗