[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
For those where the suggested solution of: quote rm -R ~/.config/gnome-session/saved-session /quote doesn't work, check your ~/.config/autostart directory where you will find the appropriately named files that continue to annoy you. Edit or Delete them. bEditing the files/b In my experience; right clicking the files offers no 'Open With' option so to edit them use the command line or drag the files onto an open instance of gedit and change (if 'true') the following filed to false as shown below. X-GNOME-Autostart-enabled=false regards -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34321 Title: should delete the saved session when unmarking automatic session saving option To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-session/+bug/34321/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
My last comment edit: and change (if 'true') the following filed Should be: and change (if 'true') the following field -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/34321 Title: should delete the saved session when unmarking automatic session saving option To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-session/+bug/34321/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
You can add a Delete option under Save .. Delete option must do : rm -R ~/.config/gnome-session/saved-session -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/34321 Title: should delete the saved session when unmarking automatic session saving option -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
** Changed in: gnome-session Importance: Unknown = Medium -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
I think that button showed up in Karmic. I personally found it pretty confusing. Of course it is a simple button that just calls the save_session function, but it doesn't fit into any sort of normal user workflow, as far as I can see. I agree that this went from bad to worse, and I took the appearance of that button (along with the lack of upstream response) as a sign that this bug will not be fixed any time soon. FWIW, I would still go my route for a solution; it is basically the same as the workaround. One exception, I would also get rid of the button too. -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
** Description changed: I've found that gnome-session doesn't properly handle turning off automatic session saving. Here's what I done: 1) Turn on auto_save_session via gconf-editor. 2) Leave some program open - say, Gnome Terminal. 3) Reboot. Upon login, Gnome Terminal pops up, which is what is supposed to happen. - 4) Turn off auto_save_session via gconf-editor. Close all apps. + 4) Turn off auto_save_session via gconf-editor. Close all apps. 5) Reboot. Upon login, gconf-editor opens, which was closed before rebooting, as well as Nautilus, which wasn't launched at all. To fix this manually, I have to delete ~/.gnome2/session file after turning off automatic session saving. - UPDATE: workaround for jaunty is: rm -R ~/.config/gnome-session/saved- - session + UPDATE: workaround for jaunty and Karmic 10.04 is: rm -R ~/.config + /gnome-session/saved-session -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
Looks like this has gotten worse in Lucid. There is now a fat button to click in gnome-session-properties to store the session (see attached screenshot), but no way to get rid of that stored session. It spawns every time you log in (i tried it two times, then the rm -R workaround) even when Automatically remember ... is NOT checked. ** Attachment added: gnome-session-properties.png http://launchpadlibrarian.net/48572276/gnome-session-properties.png -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
Thanks for the fix in #29 there, I was wondering what was going on. So, something is looking for that saved session if it exists, and if so, to use it...instead of checking the setting to see if it's wanted. If I knew how to break down the code myself, I'd do it. -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
Thank you for bringing this bug to our attention. However, a paper cut should be a small usability issue, in the default Ubuntu install, that affects many people and is quick and easy to fix. So this bug can't be addressed as part of this project. For further information about papercuts criteria, please read https://wiki.ubuntu.com/PaperCut. Don't worry though, this bug has been marked as Invalid only in the papercuts project. ** Changed in: hundredpapercuts Status: New = Invalid -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
Apteryx wrote on 2009-08-24: The bug is still present in Ubuntu 9.10. The procedure to delete the saved session is the same as for Jaunty : rm -R ~/.config/gnome-session /saved-session I thought this was a brilliant solution which finally could help me solve this issue with Tomboy. And probably it is, on others' systems. But unfortunately, it failed like other solutions listed here and in other fora (uninstalling Tomboy included). Then I bumped into this page - http://www.simmerspaintshop.com/forums/blogs/adlabs6/80-tomboy-notes- open-login-startup.html - which let me understood why the hell Tomboy was so stubborn: it was the Deskbar-applet which I added to my panel a couple of weeks ago to fire up Tomboy at login. Once disabled the relevant option in the applet preferences, it finally stopped. This worked in my case, so it might not apply to yours. However, I wanted to share just in case someone could find it helpful. -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
** Changed in: gnome-session (Ubuntu) Status: Triaged = Confirmed -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
** Changed in: gnome-session (Ubuntu) Status: Confirmed = Triaged -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
I uploaded to my ppa gnome-session_2.28.0-0ubuntu4 which is this bug fix plus gnome-session_2.28.0-0ubuntu3 (I'm still figuring out how to version things, sorry). This is for karmic. It built ok in pbuilder, but I'm haven't test on karmic, only jaunty. -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
ok, I think I fixed this, woo! I'm happy that the fix is only 2.5 lines, 2 lines of which are somewhat trivial. I think the fix integrates well. I'm not really sure what happened with the original upstream bug report. I suspect that this bug is not the same as the gnome bug. Plus I'm a noob, so I don't really know what to do. I will try and set this up on my ppa (a fun and profit kind of thing): https://launchpad.net/~chogydan/+archive/gnome-session This is my first attempt to fix a bug, and my second attempt to package something, so please give me feedback! I've only coded for jaunty, but it should be very simple to put into karmic. Let me know if you would like that. -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
hmm, I just found a regression with my proposed fix. I block session loading if autosaving session is disabled, but what if there is another way to save the session than through that option? Those would get blocked too. Now, I don't actually know what those other ways are, but if they exist they will get blocked. -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
I'm attaching the output of debdiff. It show the patch fairly well. Most of the lines are just refactoring. The second to last edit is the one of importance. ** Attachment added: gnome-session.debdiff http://launchpadlibrarian.net/32533565/gnome-session.debdiff -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
I'm attaching the output of debdiff. It shows the patch fairly well. Most of the lines are just refactoring. The second to last edit is the one of importance. ** Attachment added: gnome-session.debdiff http://launchpadlibrarian.net/32533566/gnome-session.debdiff -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
** Also affects: hundredpapercuts Importance: Undecided Status: New -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
I can confirm this bug on jaunty. rm -R ~/.config/gnome-session/saved-session works as a workaround but is a no-go for usability and new users. This bug is more than three years old and still not fixed. Another point is: The man page of gnome-session is wrong: When saving a session, gnome-session saves the currently running applications in the $XDG_CONFIG_HOME/gnome-session/saved-session directory. But the $XDG_CONFIG_HOME is unset. gnome session saves in ~/.config /gnome-session/saved session which is not mentioned in the man page. -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
The bug is still present in Ubuntu 9.10. The procedure to delete the saved session is the same as for Jaunty : rm -R ~/.config/gnome-session /saved-session -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 34321] Re: should delete the saved session when unmarking automatic session saving option
** Summary changed: - should not write the session when changing automatic session saving option + should delete the saved session when unmarking automatic session saving option ** Description changed: I've found that gnome-session doesn't properly handle turning off automatic session saving. Here's what I done: 1) Turn on auto_save_session via gconf-editor. 2) Leave some program open - say, Gnome Terminal. 3) Reboot. Upon login, Gnome Terminal pops up, which is what is supposed to happen. 4) Turn off auto_save_session via gconf-editor. Close all apps. 5) Reboot. Upon login, gconf-editor opens, which was closed before rebooting, as well as Nautilus, which wasn't launched at all. To fix this manually, I have to delete ~/.gnome2/session file after turning off automatic session saving. + + UPDATE: workaround for jaunty is: rm -R ~/.config/gnome-session/saved- + session -- should delete the saved session when unmarking automatic session saving option https://bugs.launchpad.net/bugs/34321 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs