[Pkg-sysvinit-devel] Broadcast shutdown message on the dbus?

Otavio Salvador otavio at ossystems.com.br
Fri May 1 21:34:13 UTC 2009

Hello Petter,

On Fri, May 1, 2009 at 2:46 PM, Petter Reinholdtsen <pere at hungry.com> wrote:
> [Otavio Salvador]
>>> In
>>> <URL:https://init.linpro.no/pipermail/skolelinux.no/bruker/2009-May/008731.html>
>>> I am told that Mandriva Linux 2009 Spring using KDE 4.2.2 show a KDE
>>> notification box when shutdown is requested.  I've been unable to find
>>> out how it work so far (do not have Mandriva myself).  Anyone know if
>>> it is a KDE 4 thing or a Mandriva extention?
>> Yes ... it can be done on the session manager using hal/dbus.
> I have now been able to figure out how Mandriva do it.  They use the
> kwrited module in KDE, which do not work in Debian Etch and Lenny due
> to <URL:http://bugs.debian.org/526461>.  The konsole terminals (and
> the kwrited terminal) are not registered in utmp, and thus wall do not
> send any messages to these ptys, leading to no notification in KDE.
> It is solved in KDE 4.2.
> I suspect a dbus based solution might be a better approach.

AFAIK GNOME uses the HAL/Dbus solution and it works quite well. I
belive KDE should support the same, even though it can has other ways
for same thing. If they does not, then when you press the Power Button
(and the ACPI event is raised) it won't know about it (well, it can
know if it duplicated the acpid functionality  but I doubt the would
do it).

Otavio Salvador                  O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br

More information about the initscripts-ng-devel mailing list