Re: Shutdown script (derived from "Simple startup daemon's on boot question?")

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Siju George <sgeorge.ml@...>
Cc: Tomas <s.tomas@...>, OpenBSD misc list <misc@...>
Date: Friday, September 21, 2007 - 2:47 am

On 9/21/07, Siju George wrote:

> I have a similar doubt.

There are some mechanisms to tell applications to shutdown when you
quit X (either by exiting the window manager, or more brutally with
Ctl+Alt+Backspace). They are a bit complex, and no all applications
handle the events they get. (and not all window managers implement the
same protocol).

For instance in my experience, firefox manages to remove its lock (in
~/.mozilla/firefox/hexstuff/) most of the time when I exit from X
(using Ctl+Alt+Backspace) without quitting it first.

But the safest way is to quit each application 1st, then exit the
window manager. Of course this is mainly important for applications
with pending changes like text editors, e-mail clients, or such.
xclock or xload don't care if they are terminated badly.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Shutdown script (derived from "Simple startup daemon's o..., Artur Litwinowicz, (Wed Sep 19, 8:24 am)
Re: Shutdown script (derived from "Simple startup daemon's o..., Matthieu Herrb, (Fri Sep 21, 2:47 am)
Re: Shutdown script (derived from "Simple startup daemon's o..., Stuart Henderson, (Wed Sep 19, 10:43 am)
Re: Shutdown script (derived from "Simple startup daemon's o..., Przemyslaw Nowaczyk, (Wed Sep 19, 8:36 am)