[pygtk] X server exiting how to catch
Mike Bernson
mike at mlb.org
Thu Nov 9 10:46:02 WST 2006
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 ?
More information about the pygtk
mailing list