User Accounts

14 views
Skip to first unread message

Ben W

unread,
Jan 14, 2008, 1:47:56 AM1/14/08
to Blacktree: Quicksilver
User Accounts no longer show up in QS after upgrading to Leopard.
Console log:
1/14/08 1:40:33 AM Quicksilver[199] An error ocurred while scanning
"User Accounts": launch path not accessible
Repeated many times.

Also, I don't remember if QS ever had this, but I would very much like
to be able to setup a trigger to show the login screen. Anyone have
any ideas on that? I don't want to switch users necessarily, but just
show the login screen (without logging out) - so someone has to type
the password for the account (or another one). I used to do this using
the 'start screensaver' and having that require a password to
deactivate, but I would really rather not do that anymore.

Sesquipedalian

unread,
Jan 14, 2008, 3:05:31 PM1/14/08
to Blacktree: Quicksilver
To show the login screen, install the Extra Scripts plugin. It
includes a script called Fast Logout. It is a misnomer, since you
will still be logged in, but it will switch to the login screen just
like Fast User Switching will let you do.

Leopard seems to have broken the User Accounts plugin. Until someone
knowledgeable fixes it, i've been using te following Applescript
instead:

do shell script "/System/Library/CoreServices/'Menu Extras'/User.menu/
Contents/Resources/CGSession -switchToUserID 502"

You will need a copy for each user on your machine. Modify the 502 to
the appropriate user id number for each user. In general, the first
user created on your Mac has the uid 501, the second is 502, etc.
Save each copy as something like "Switch to <username>.scpt" in ~/
Library/Scripts, and make sure that folder is in your QS catalogue.
If you want to get fancy, you can copy the appropriate user picture
from the Accounts preference pane and paste it onto the icon in the
Get Info window of the script. Then you will get the user icon in
QS's first pane instead of a generic Applescript icon.

Ben W

unread,
Jan 17, 2008, 6:40:38 AM1/17/08
to Blacktree: Quicksilver
Amazing. Thank you. The fast logout is exactly what I was looking for.
Thanks for your help.
Reply all
Reply to author
Forward
0 new messages