Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wiseguy27

macrumors 6502
Original poster
Apr 30, 2005
420
0
USA
Ok, this isn't a showstopper, but I'd like to know to what extent a "mouseless" system could be used. I noticed this issue when I had this UPS software detecting, just around the time the login screen appears, that I hadn't connected the UPS through USB (so it wouldn't be able to report the current battery status as well as allow me to control the UPS from the Mac).

Here's the brief problem statement:
1. Login screen appears with the "user" and "password" text boxes with some buttons at the bottom (like sleep, restart, shutdown, login etc.)
2. Due to some startup application (like my UPS app) reporting an error in a dialog box, the login window no longer has the focus

The questions:
1. How can I, using only the keyboard (and not the mouse), bring the focus back to the login window so that I can start typing the username/password?
2. During normal operation, while entering the username/password, how can I, using only the keyboard (and not the mouse), move amongst the buttons below the password text box (like shutdown, login etc.)? The focus seems to move only between these two text boxes - in addition to these buttons, I also have a drop down above the username textbox that would allow me to choose the language (US English being the default) - I have no clue about selecting that using the keyboard either.

I tried various combinations of tab, command+tab, option+tab, arrows, control+tab etc., but none of them are able to move the focus to the buttons or to the login window (as the case may be).

Any suggestions or solutions?
 

wiseguy27

macrumors 6502
Original poster
Apr 30, 2005
420
0
USA
No answers? Seems really strange that OS X would not have an option to do this using just the keyboard. :)
 

wiseguy27

macrumors 6502
Original poster
Apr 30, 2005
420
0
USA
I'm beginning to think there's no solution for this. I just tried all key combinations (Cmd+Tab, Cmd+~ etc. were tried long ago) with tab, ~, arrow, function keys etc. - nothing helps. :eek: Maybe it'll work in a future version of Mac OS X. :p
 

Mitthrawnuruodo

Moderator emeritus
Mar 10, 2004
14,442
1,093
Bergen, Norway
Bare with me :)o):

My login window consists of a list of icons, and to highlight a certain account I just type the first key in one of the account names (no cmd, ctrl or option), which highlights one of the buttons, then enter and focus goes to the password field.

Note that I've never installed anything that would cause the login window to loose focus, but then again, with Macs the solution is often easier than you thought... ;)
 

wiseguy27

macrumors 6502
Original poster
Apr 30, 2005
420
0
USA
Mitthrawnuruodo said:
Bare with me :)o):

My login window consists of a list of icons, and to highlight a certain account I just type the first key in one of the account names (no cmd, ctrl or option), which highlights one of the buttons, then enter and focus goes to the password field.
For security reasons, I have configured my preferences (in 'Login Options' under 'Accounts' in 'System Preferences') to show the login window as 'Name and password' instead of 'List of users'. So I just see a dialog with two text boxes - username and password. Below those text boxes are the buttons for Restart, Sleep, Shutdown and Login (this is also checked in the same pref pane mentioned above).

Normally, the focus cannot be taken away from this dialog (even clicking the mouse outside doesn't change it). But there doesn't seem to be a way to "select" those buttons (Restart, Sleep and Shutdown) using tab or arrow or a combination of those and then "click" on those buttons. The Login button is always highlighted and hitting Enter activates it. There doesn't seem to be a standard way of moving the focus to other buttons using the keyboard.

Of course, knowing the shortcut keys for Restart, Sleep and Shutdown would help accomplish those tasks. But I'm referring to the basic inability of the UI to provide keyboard based navigation in a dialog box that's supposed to be standard. :)
 

iMeowbot

macrumors G3
Aug 30, 2003
8,634
0
In Tiger, you don't use the buttons to do that (with the keyboard). Use the magic names >sleep >shutdown and >restart (including the > symbols) in the username field.
 

Mitthrawnuruodo

Moderator emeritus
Mar 10, 2004
14,442
1,093
Bergen, Norway
Another thought (if you still will bare with me): Have you enabled All Controls in Full keyboard access in System Preferences -> Keyboard & Mouse -> Keyboard shortcuts?
 

Attachments

  • Picture 1.png
    Picture 1.png
    102.9 KB · Views: 452

iMeowbot

macrumors G3
Aug 30, 2003
8,634
0
Mitthrawnuruodo said:
Another thought (if you still will bare with me): Have you enabled All Controls in Full keyboard access in System Preferences -> Keyboard & Mouse -> Keyboard shortcuts?
That didn't work here, but you pointed to a solution that did work. The pref doesn't stick because the login window doesn't belong to that user, but the Ctrl-F7 toggle does work there!
 

wiseguy27

macrumors 6502
Original poster
Apr 30, 2005
420
0
USA
iMeowbot said:
In Tiger, you don't use the buttons to do that (with the keyboard). Use the magic names >sleep >shutdown and >restart (including the > symbols) in the username field.
That's really news to me! I HAVE to try that one! :)

Thanks for the tip. :)

[It would've been better if Apple included this info in the login window - what if someone's mouse died and they had to use the keyboard to get in and check things?]
 

wiseguy27

macrumors 6502
Original poster
Apr 30, 2005
420
0
USA
iMeowbot said:
Mitthrawnuruodo said:
Another thought (if you still will bare with me): Have you enabled All Controls in Full keyboard access in System Preferences -> Keyboard & Mouse -> Keyboard shortcuts?
That didn't work here, but you pointed to a solution that did work. The pref doesn't stick because the login window doesn't belong to that user, but the Ctrl-F7 toggle does work there!
Actually, I do have full keyboard access enabled for all users, but as iMeowbot pointed out, it doesn't work on the login window by default.

iMeowbot, I haven't yet tried toggling full keyboard access on while in the login window - that's one more thing to try.

Thanks for your suggestions and tips - if one looks long enough, I guess there are solutions that reveal themselves. :D
 

wiseguy27

macrumors 6502
Original poster
Apr 30, 2005
420
0
USA
pretty cool

Ok, I tried the Ctrl+F7 command to turn on full keyboard access on the login window and it works like a charm - the 'Sleep', 'Restart', 'Shutdown' and 'Login' buttons are accessible through the keyboard (using the tab key). It's funny that pressing tab actually moves the focus from right to left over all these buttons! :D

I also tried the '>sleep' kind of commands in the username textbox - looks mystical, as if you're commanding a being from another world. :D

The only issue that's not resolved is bringing the focus back to the login window once I've cleared my error dialog from the UPS not being connected. That's not a big deal since my mouse works. :p
 

AppleAce

macrumors regular
Mar 7, 2005
133
0
USA
wiseguy27 said:
Actually, I do have full keyboard access enabled for all users, but as iMeowbot pointed out, it doesn't work on the login window by default.

iMeowbot, I haven't yet tried toggling full keyboard access on while in the login window - that's one more thing to try.

Thanks for your suggestions and tips - if one looks long enough, I guess there are solutions that reveal themselves. :D
Would you be able to have full keyboard access at the login window if you temporarily enabled the root account and turned on the full keyboard acces pref while logged in as root?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.