Please document current behavior as per #771896

Bug #1037616 reported by Reuben Thomas
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-session (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

README.Debian says:

Upon startup, gnome-session starts the following applications:
 - Saved session: if you have saved a session, it is located in
   ~/.config/gnome-session/saved-session/. You can enable automatic
   session saving or manually save it in the "Startup Applications"
   configuration applet.

But, as per bug #771896, this feature is currently disabled, and has been replaced by an environment variable, GNOME_SESSION_SAVE:

gnome-session (3.2.1-0ubuntu7) precise; urgency=low

  * debian/patches/51_remove_session_saving_from_gui.patch:
    - add GNOME_SESSION_SAVE environment variable for people wanting to
      use the save session still, knowing that it can break your system
      if used unwisely (LP: #771896)

 -- Didier Roche <email address hidden> Thu, 12 Apr 2012 10:30:56 +0200

Please could you reflect this in README.Debian?

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-session 3.2.1-0ubuntu8
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Thu Aug 16 15:39:52 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
PackageArchitecture: all
SourcePackage: gnome-session
UpgradeStatus: Upgraded to precise on 2012-03-06 (163 days ago)

Revision history for this message
Reuben Thomas (rrt) wrote :
Revision history for this message
Reuben Thomas (rrt) wrote :

See also bug #771896: there is confusion over how to use the GNOME_SESSION_SAVE fix. It seems fairly straightforward for gdm users, but perhaps it's not as obvious for lightdm users? I don't know, but again, this is something that should be explained in README.Debian.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, patches are welcome, I doubt that's high enough on our list to get somebody assigned to that issue, that hack was added for power user and is not intended as a fully supported feature anyway

Changed in gnome-session (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Reuben Thomas (rrt) wrote :

It's a straightforward bug: the package does not behave as described. Here's a suggested fix: replace the following text:

 - Saved session: if you have saved a session, it is located in
   ~/.config/gnome-session/saved-session/. You can enable automatic
   session saving or manually save it in the "Startup Applications"
   configuration applet.

with:

 - Saved session: if you have saved a session, it is located in
   ~/.config/gnome-session/saved-session/. Automatic saving and
   restoring of the session is currently not reliable (see bug #771896),
   and has been disabled in Ubuntu. To enable automatic session saving:

     dconf write /org/gnome/gnome-session/auto-save-session true

   To re-enable automatic session restoring, set the environment
   variable GNOME_SESSION_SAVE somewhere that is
   read by your display manager's Xsession script (for example, in
   ~/.profile for gdm).

(Note: as far as I'm aware manual session saving is no longer available. As you can see, the name "GNOME_SESSION_SAVE" is an unfortunate choice, as it actually controls whether the session is restored, not whether it is saved.)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.