ResetDesktopSession

Differences between revisions 3 and 4
Revision 3 as of 2006-11-10 01:04:59
Size: 3272
Editor: 207
Comment:
Revision 4 as of 2006-11-10 01:21:49
Size: 3536
Editor: 207
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
 * '''Launchpad entry''': none yet
 * '''Packages affected''':
 * '''Launchpad entry''': https://features.launchpad.net/distros/ubuntu/+spec/edubuntu-reset-desktop-session
 * '''Packages affected''': a new package will be created to install this session and these scripts.
Line 39: Line 39:
Only evolution's configuration will be preserved and left in place. All other configu Only evolution's configuration will be preserved and left in place. All other configuration files to be reset will be rolled into a tarball named something helpful such as "desktop-configuration-backup.tgz".
Line 47: Line 47:

Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.

Summary

Users' desktop configurations sometimes need to be reset, and some buggy applications leave cruft around in the form of processes and /tmp files. Edubuntu will solve these problems by integrating scripts from K12LTSP.

Rationale

Users sometimes lose access to Gnome menus, or other desktop configuration strangenesses prevent them from using their desktops. Leftover session processes and /tmp files can render a user unable to log in at all. These situations must be addressable within Edubuntu.

Use cases

  • Margie accidentally deletes her Gnome panels and doesn't have access to the menus and doesn't know how to get them back. She logs in again and selects the "Reset My Desktop" session. After clicking through a warning "YOU ARE DELETING YOUR DESKTOP CONFIGURATION OMG!" her desktop configurations (Gnome & KDE) are removed and she is given a default system session with a fresh configuration.

  • Romulus is working in Lab A and Remus decides to pull out his network cable. Romulus' session is lost because he has no server connection. He authenticates to another terminal but leftover processes and /tmp files from his previous session prevent his desktop from starting completely and he is unable to work.

Scope

Leftover processes and /tmp files are bugs that need fixing; Edubuntu will document these bugs and provide a workaround that system administrators can enable as they wish.

Design

Edubuntu will provide a "Reset your desktop" session that users can select to start over with Gnome & KDE. This session already exists in K12LTSP and will require only minor changes for integration into Edubuntu. Edubuntu will provide warning in the session selector that the user is deleting all desktop configuration.

Some applications are leaving around processes and /tmp/ files after sessions are terminated (by logout or network failure, etc.). Edubuntu will ship but not enable the scripts from K12LTSP that clean up session processes and /tmp/ files at login/logout. Edubuntu will document how to enable these cleanups should the administrator wish to do so. In addition, the Edubuntu team will study and document which processes are hanging around and leaving cruft under /tmp/ in order that these application bugs can be logged and fixed.

Implementation

Eric's "Reset desktop" script from K12LTSP whacks everything under these locations: .screenrc .kde .kde2 .gnome_private .gconfd .gconf .nautilus .gtkrc .gnome. Edubuntu will protect .gconf/apps/evoluton. A zenity warning will be presented to the user when this session is selected to make the impact clear.

Code

Code will be borrowed from K12LTSP.

Data preservation and migration

Only evolution's configuration will be preserved and left in place. All other configuration files to be reset will be rolled into a tarball named something helpful such as "desktop-configuration-backup.tgz".

Unresolved issues

BoF agenda and discussion


CategorySpec

Edubuntu/Specifications/ResetDesktopSession (last edited 2010-01-21 15:57:59 by 196-210-177-89-wblv-esr-3)