Re: GNOME session management and crash recovery
On Tue, 2011-02-08 at 11:33 -0500, Tom Metro wrote: > theBlueSage wrote: > > I am running Ubuntu 10.10...'gnome-session-save' works rather well... > > Ah, thanks for the note. I guess that gives me something to look forward > to in the upgrade. > > > > ...the save, cron'd, works fine. > > Did you test that prompted by my posting, or was that something you had > already implemented? Prompted by your post. Actually I had been looking for this exact feature for ages and had not thought of cron'ing the session save. The moment I read your post I checked my Gnome version and implemented it. I don't think Gnome has any better native crash handler, and using CRON seems to be a simple and easy answer. Not sure about the resource use yet, time will tell, but seems fine for now until something better comer along Richard > > -Tom ___ Discuss mailing list Discuss@blu.org http://lists.blu.org/mailman/listinfo/discuss
Re: GNOME session management and crash recovery
Hi Tom, I am running Ubuntu 10.10 and after the usual updates I have Gnome 2.32.0 installed. 'gnome-session-save' works rather well in this version. I have not researched crashing any further but the save, cron'd, works fine. Richard On Thu, 2011-02-03 at 19:51 -0500, Tom Metro wrote: > GNOME 2.28.1 has the ability to remember what applications you have > running when you shut down the system in a controlled fashion, or > remember them at the time you click the "Remember Currently Running > Applications" button on the "Startup Application Preferences" applet. > > But it appears to make no attempt to periodically save the application > state (or technically, send the message to the running applications to > ask them to save their state), which would be desirable for the purpose > of recovering from a crash. > > Has anyone hacked GNOME with an external cron job or some such to > periodically save the state? The 'gnome-session-save' command would make > this trivial to implement, but it is broken in 2.28.1. > > Do newer versions of GNOME handle crash recovery better? > > -Tom > ___ Discuss mailing list Discuss@blu.org http://lists.blu.org/mailman/listinfo/discuss
GNOME session management and crash recovery
GNOME 2.28.1 has the ability to remember what applications you have running when you shut down the system in a controlled fashion, or remember them at the time you click the "Remember Currently Running Applications" button on the "Startup Application Preferences" applet. But it appears to make no attempt to periodically save the application state (or technically, send the message to the running applications to ask them to save their state), which would be desirable for the purpose of recovering from a crash. Has anyone hacked GNOME with an external cron job or some such to periodically save the state? The 'gnome-session-save' command would make this trivial to implement, but it is broken in 2.28.1. Do newer versions of GNOME handle crash recovery better? -Tom -- Tom Metro Venture Logic, Newton, MA, USA "Enterprise solutions through open source." Professional Profile: http://tmetro.venturelogic.com/ ___ Discuss mailing list Discuss@blu.org http://lists.blu.org/mailman/listinfo/discuss