How to get notified when system 【log out】?
Thiago Macieira
thiago at kde.org
Mon Oct 19 05:19:08 PDT 2009
Em Segunda-feira 19 Outubro 2009, às 11:29:34, você escreveu:
> is there any signals to trace or listen to?
>
> because i have a java app,and i need to do something befor my app is killed
> when the system log out
>
> any instructions would be much appreciate
No, there's no such thing in D-Bus.
In X11 systems, XSM will tell you to exit. So you need to find how to get the
XSM notification in Java.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20091019/b7f07ea0/attachment.pgp
More information about the dbus
mailing list