<p>All we really need is to clean up a session during shutdown. The simple way is to trap SIGTERM and do the right thing: at the minimum do a save. If possible, prompt user to save yes/no. XSMP and D-BUS do more than Unix signals, such as the option to restart automatically. That sort of thing might be useful, but let&#39;s learn to walk first.</p>

<p>Comments welcome.</p>
<p><blockquote type="cite">On Jan 19, 2011 9:24 PM, &quot;David Corking&quot; &lt;<a href="mailto:lists@dcorking.com">lists@dcorking.com</a>&gt; wrote:<br><br>On Sat, Jan 15, 2011 at 5:05 AM, Gary Dunn wrote[1] :<br>
<p><font color="#500050"><br>&gt; Interesting, I found this in a discussion on XSMP:<br>&gt;<br>&gt; Newer alternative sessions (GDM Greeter, O...</font></p>Sounds great.  This bug (linked from the above GNOME wiki page) looks<br>

particularly relevant:<br>
<br>
<a href="https://bugzilla.gnome.org/show_bug.cgi?id=535829" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=535829</a><br>
<br>
Hope that helps, David<br>
<br>
[1] <a href="http://lists.squeakfoundation.org/pipermail/beginners/2011-January/007497.html" target="_blank">http://lists.squeakfoundation.org/pipermail/beginners/2011-January/007497.html</a><br>
<p><font color="#500050">_______________________________________________<br>Beginners mailing list<br>Beginners@lists.squeakfoundat...</font></p></blockquote></p>