GNOME Bugzilla – Bug 581819
gnome-session-save remembers last session after deactivation.
Last modified: 2009-08-09 02:08:33 UTC
Wooof! My first post here: I couldn't find any other bugreports about this. After deactivating the Startup app: "Automatically remember running application when logging out" gnome doesn't erase the last remembered session which means you'll end up getting those darn windows back again and again until you erase the files in: ~/.config/gnome-session/saved-session/ I now run Ubuntu but experienced the exact same problem under Mandriva and found it annoying enough to want to try another operation system alltogether. ------------------------ To copy the bug. 1. open gedit 2. system/preferences/startup applications/options (In Ubuntu...) 3. activate the only option 4. log out 5. log in ( hooray... it works ) 6. deactivate the option again 7. log in and out again 8. :P -?! 9. :-| -?! 10. ;-( -?!! -------------------------- A quick fix would be a script that nukes the files in "saved-session/" after deactivating the function (They are recreated when you log out) I found this extremely annoying under Mandriva because I tried the function with a lot of windows and would have them come back and haunt me even in my dreams... The horror! I don't know what priority it deserves but I'ld rate it high actually and the fix should be simple (if it is a bug that is... I don't know anyone else who runs Linux and perhaps I'm the only one with this problem) Oskar
Apparently it was a known issue! http://np237.livejournal.com/22014.html
Created attachment 140181 [details] [review] gnome-session-2.26.1/capplet/gsm-properties-dialog.c rude patch! :-)
Ok. This patch is next to shorting two pins on the cpu, when it comes to finesse, but I only wanted to show the logic of the case as I see it... And it works. :D The saved-session files is deleted when the "Automatically remember running..." is unchecked. I didn't manage to figure out how to adress the saved session files properly so I provided a direct adress. ~/.config/gnome-session/saved-session/ The patch works if this adress is true on your computer. ( I think this bug is a duplicate but I'll look that up later... )
*** This bug has been marked as a duplicate of 301949 ***