I am trying to trap 2 condition

1 When the xserver dies (connection lost)
Is there any way to trap this condition from python ?
I have a number of task that are running I want them to die
when the xserver dies and the application see it. There is also
some cleanup I would like to do.

2 When the user logs off.
Looking for session management Any pointers under python ?
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to