SessionHandling

Differences between revisions 2 and 3
Revision 2 as of 2010-02-17 17:00:11
Size: 2027
Editor: eth0
Comment: shorter authentication text
Revision 3 as of 2010-02-17 17:38:54
Size: 2381
Editor: eth0
Comment: + gnome-session behemoth dialog; + gnome-user-guide
Deletions are marked like this. Additions are marked like this.
Line 40: Line 40:
 1. In `gnome-session`’s behemoth dialog, change “Suspend” to “Sleep” and “Shut Down” to “Switch Off”.
Line 41: Line 42:
 1. In `gnome-user-guide`, change the “Ending a Session” page so that it refers to “Switch Off” instead of “Shut Down”, and has a bullet point for “Sleep” instead of wibbling about some vendors letting you suspend.

This is an incomplete but living specification on how Ubuntu sessions should work.

As a temporary measure until ExitStrategy is implemented, there should be separate Log Out, Sleep, Hibernate, Restart, and Switch Off commands. The Log Out, Restart, and Switch Off commands should have confirmation alerts. The “Sleep” and “Switch Off” terminology should be used consistently across Ubuntu.

Packages affected: gdm, gnome-power-manager, gnome-session, indicator-session

Common alert elements

The primary action button should respond to the Enter key, and should not have any other access key. The Cancel button should respond to the Esc key, and should not have any other access key. None of the buttons should have icons.

Log Out

If updates that require a restart are waiting to be installed:

log-out-restart.jpg

The “Restart” button should have the access key R. If you do not have permission to restart without authenticating, the button label should end with an ellipsis.

Otherwise:

log-out.jpg

Restart

restart.jpg

If you do not have permission to restart without authenticating, the button label should end with an ellipsis.

Switch Off

switch-off.jpg

If you do not have permission to switch off without authenticating, the button label should end with an ellipsis.

Implementation plan

  1. In indicator-session, implement the new alerts.

  2. In gdm, change “Suspend” to “Sleep” and “Shut Down” to “Switch Off”.

  3. In gnome-power-manager, change “Suspend” to “Sleep” and “Shutdown” [sic] to “Switch Off”.

  4. In gnome-session’s behemoth dialog, change “Suspend” to “Sleep” and “Shut Down” to “Switch Off”.

  5. In gnome-session, change “System policy prevents stopping the system when other users are logged in” to “To switch off the computer while others are logged in, you need to authenticate.” (with a period).

  6. In gnome-user-guide, change the “Ending a Session” page so that it refers to “Switch Off” instead of “Shut Down”, and has a bullet point for “Sleep” instead of wibbling about some vendors letting you suspend.

  7. Later, move the confirmation alerts from indicator-session to gnome-session.

SessionHandling (last edited 2016-01-08 12:12:56 by mpt)