Broadcast shutdown message on the dbus?

Henrique de Moraes Holschuh hmh at
Mon Aug 25 21:21:41 UTC 2008

On Mon, 25 Aug 2008, Petter Reinholdtsen wrote:
> At the moment, it is not very easy for KDE and Gnome (or any other
> user application for that matter), to know that a shutdown is in
> progress, and act accordingly.

A shutdown *REQUEST* is outstanding you mean.  Shutdown in progress means we
are switching runlevels...

> One idea to make it easier would be to extend shutdown to broadcast
> the shutdown request not only using wall, but also using dbus.  This
> way, programs could listen on the dbus and act accordingly.
> A simple application could pop up a warning about the system being
> shut down.  Other alternatives are left to the imagination.
> What is your view on this.

Go for it.  Getting KDE and GNOME to actually remember that the X console
exists and is important is just not going to happen.

  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

More information about the initscripts-ng-devel mailing list