Hello Petter,

On Fri, May 1, 2009 at 2:46 PM, Petter Reinholdtsen <[email protected]> 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: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br

_______________________________________________
initscripts-ng-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/initscripts-ng-devel

Reply via email to