How do you create a keyboard shortcut that activates fast user switching (i.e. brings up the login window) in Mac OS X Snow Leopard?
I'm trying to emulate the Windows Start+L keyboard combination, which I miss from my time using Windows.
|
How do you create a keyboard shortcut that activates fast user switching (i.e. brings up the login window) in Mac OS X Snow Leopard? I'm trying to emulate the Windows Start+L keyboard combination, which I miss from my time using Windows.
| |||
feedback
|
|
For 10.6 Snow Leopard, one can easily add a Service using Automator, and then assign any keyboard shortcut using System Preferences. See Fast User Switching/Apple Menu? for details. | |||
|
feedback
|
|
If you are at the CLI, you could have the following alias set to switch quickly:
| |||
feedback
|
|
Well Strictly speaking -- Command-Option-Q will log you out (with "Are you sure prompt")... But I don't see anyway to trigger a fast user switch via keyboard... Now you could write an applescript, which you could associate with a keystroke. For example, see http://www.macosxhints.com/article.php?story=20080401232826118 for implementation details.
| |||||
|
feedback
|
|
• According to Király in Apple Support Discussions, he says this combination works: "...This can be done with Automator and Spark: Open Automator, select Run Shell Script, and paste in this (all on one line): /System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend File -> Save As... -> select "Save as application" and save the app in a convenient spot. Then use Spark to assign a keyboard shortcut to open that app. I use Automator and Spark to switch to the login window and then put my Mac to sleep when I press control-F13..." {You can get Spark 3.0b9 software download from VersionTracker.} http://www.versiontracker.com/dyn/moreinfo/macosx/22675 About Spark: "Spark is a powerful, and easy Shortcuts manager. With Spark you can create Hot Keys to launch applications and documents, execute AppleScript, command iTunes, and more... You can also export and import your Hot Keys library, or save it in HTML format to print it. Spark is free, so use it without moderation!" • • • • • • While I had a second hyperlinked free script, this site won't allow two in a post. Good luck & happy computing! :) ...in a small town. | |||||
feedback
|
|
Check Fast User Switching with Butler and Butler. | |||
|
feedback
|
|
if you have quicksilver, i've create a little app that can be used with triggers in QS. more info: http://davidjmccrea.tumblr.com/post/584507546 David | |||
|
feedback
|
|
A slightly different way of doing this, with added security benefits (or annoyances depending on your view-point), is to
To do this, you need to adjust the following settings in your System Preferences application:
You'll have to do the latter on each account (unfortunately there's no global setting for this). Then you can move your mouse to the appropriate corner of the screen to lock the computer (by starting the screen saver). When someone presses a key/moves the mouse they'll be prompted to log in and can switch users from there. | |||
|
feedback
|
|
If the desire is to lock (like Window-L in Windows), then there's a very simple solution .. set your screensaver to lock the screen (require logon) and use ctrl-shift-eject (bottom left two keys + top most right key). This locks your screen. | |||
|
feedback
|
|
I use BetterTouchTool for a lot more than just this but, one of the actions it allows you to do is "Show the Login Screen" (which is different from logging out and leaving you at the login screen). I use it ALL THE TIME to lock my machine when I leave it for extended periods of time… Here's a screenshot:
| ||||
|
feedback
|
|
To switch to a specific user I invoke a script I found in the comments of a hints.macworld.com article. I had problems with it so I tweaked it to get if to work. The password is stored in the keychain, so you don't have to worry about storing login password in cleartext. You can find the gist here.
To just invoke the Login Screen I have another script. You can find the gist here
Both scripts are in my quicksilver catalog. Switching between user accounts is a matter of a few seconds. | |||
|
feedback
|