Alice Wants To…

Jakub: Obviously, the pri­mary user of a user-switching tool will be the home user, but it does have some use within a small office (and per­haps in the star-trek future it has some use in a large office).

The basic use case is some­one who wants to switch to their login to do some­thing with­out dis­turb­ing the exist­ing ses­sion (which may very well be left unlocked, unat­tended, and with­out sav­ing the open work — in spite of every­thing we tells the users, the edi­tor in chief left him­self logged on to two dif­fer­ent lab machines one day, and he just got his login a week ago).

But, assum­ing a per­fect world where users didn’t turn dis­able screen­savers and leave them­selves logged in, select dic­tio­nary pass­words and/or write them on sticky notes taped to lab mon­i­tors, here’s a case that has occurred before:

  • Jeff works in a cam­pus paper’s news­room as a photo edi­tor. There are around 80 employ­ees, of whom 30 will be in the office at any given time. There are enough com­put­ers in the lab to go around, but only some of machines have spe­cial tools on them (like a dig­i­tal cam­era media data-recovery tool which requires raw disk access, which the admins have restricted so only one machine can be hosed if the photo guys get their accounts stolen). Jeff (obvi­ously) already knows his own name and face, as well as his user­name and pass­word, but doesn’t really care about com­put­ers beyond them work­ing. Further, he is work­ing under a dead­line and thus really needs to use the com­puter which has the recov­ery tools ASAP, but the machine is in use already.

This sce­nario illus­trates (I think) that more com­plex envi­ron­ments must be taken into account even for some­thing as triv­ial as FUSA, and was what I had in mind. But really, I think “make FUSA not suck with lots of users” is a laudi­ble goal any­ways. The ideas for han­dling that many users boil down to (essentially):

  1. Make FUSA into a “recently used” list, with the last 5 – 10 users who have logged in.
  2. Only show cur­rently logged-in users.
  3. Show all user accounts.

#1 can only really use utmp to see who the last few users were, and I can see it get­ting irri­tat­ing — some­times your user shows up in the list, some­times it doesn’t. I’d guess that peo­ple will scan the user list to find their user, and after not see­ing their user a few times, will get into the habit of just going straight to the “login screen” item to save time, effec­tively killing the use­ful­ness of show­ing the users at all. #2 is bet­ter, as the list will be smaller, but oth­er­wise shares the same prob­lem as #1. #3 shares one of the prob­lems of #1 (the user must scan the list), but at least the user is gau­ran­teed their account will be in the list — with pho­tos and prop­erly filled-in GECOS names, the scan­ning shouldn’t be that dif­fi­cult pro­vid­ing the user is in basi­cally the same place in the menu all the time.

So, I don’t really think #1 fits the use-case (and avail­able user accounts is much closer to avail­able appli­ca­tions than recently-used doc­u­ments, IMO), and the deci­sion of #2 vs. #3 is close enough to call (e.g. you may not want to show all the avail­able user­names) that it should be a hid­den option.

Update:Sorry, Jakub, for mis­spelling your name (yeah, I’m an idiot).

4 Responses

  1. zefram says:

    Make FUSA into a “recently used” list, with the last 5 – 10 users who have logged in.

    the new desk­top book­mark spec, which should replace the recent file spec cur­rently used by gnome, is com­pletely agnos­tic on recently used objects; you could just add a cus­tom URI like “user:///joeuser” and a cus­tom mime-type, like “application/x-fusa”.

  2. Steve Laniel says:

    (First off: is it inten­tional that tab­bing between fields jumps me two fields ahead at a time?)

    I’ve been fol­low­ing this dis­cus­sion with much inter­est, since I’d love to see fast user switch­ing in Linux. Is this an active area of work within GNOME? Or is it as a more the­o­ret­i­cal level right now?

  3. Casey Winans says:

    4. Only show the users that have logged on to that par­tic­u­lar com­puter before (and option­ally prune that list by remov­ing the users that haven’t used it in a set amount of time such as 6 months or 1 year).

    I men­tion this only because while I was in col­lege I would use the same small set of com­put­ers reg­u­larly… only once in a while when the lab was quite full would I grab a com­puter that I had not used before.

  4. Alan Horkan says:

    When I pre­vi­ously sug­gested some­thing along the lines of “Recently used” I was think­ing more along the lines of track­ing other accounts _previously used_ from this account, rather than users who recently used this computer.

    This wouldn’t work well for the sce­nario you describe but it would work well for the sce­nario of an admin­stra­tor that user that would use the same few other acounts on a reg­u­lar basis, or a friend let­ting a friend briefly check their mail from his account.

    No offense but cus­tom URI schemes are the spawn of satan and need­lessly break back com­pat­i­bil­ity. I hope it is a mis­take that Gnome devel­op­ers have made enough times already to not need to make again.

Leave a Reply

*