From: Christian R. <ar...@gm...> - 2006-08-09 22:11:04
|
On Sat, Jul 29, 2006 at 05:08:41PM +0200, clemens fischer wrote: > > rblythe: >=20 > > BTW, when I did shutdown the system while inside the UDE environment, > > I received a warning (I will have to duplicate the procedure to > > produce the warning) which is what prompted me to ask the question on > > the mailing list. >=20 > i think you should use a little script instead of just "shutdown", > because it's better to shut down your open applications beforehand. > personally, i think you should close your apps, shutdown X and then the > system, because it's not all that easy for a script to recognize the > tasks still running and properly exit them in the correct order. the > utility "lsof" comes to mind which could help with this a little. >=20 > how did KDE manage to do this? kde includes some kind of "session management". as far as i know this is not the icccm compliant standard x11 session management, however, and last time i checked the whole session management thing was a huge mess and most applications simply ignored it. session management means that a window manager/desktop environment can ask applications to save their state and tell the wm/de how to restart them with the same state they exited before terminating a session and restarting these applications at the beginning of the next session. most people do not seem to respect the standard, however and everyone seems to do his own thing (perhaps this has changed now, the last time a seriously looked at this was a few years ago). i don't consider session management a reliable way to terminate a session without loosing data today and so it's simply not implemented in ude (better not have the feature than give a false impression of security). if you want to log off cleanly close your applications manually one by one, saving open files, and then exid ude/uwm. this is the only really reliable way i know. if someone knows wether this has changed, don't hesitate to send me a hint. greetings, christian --=20 Christian Ruppert <ar...@gm...> _ This message is digitally signed with GnuPG. / \ Please find my public key and infos on \ / ASCII Ribbon Campaign http://people.freenet.de/arc.tic/gpg.html X Against HTML-Mail / \ GPG/PGP Key fingerprint =3D E9F2 04AD 9FB5 B0DF CD0E F962 A30E 449F 14EC 2= 928 |