Variety should detect logout and clean up quotes and clock
Bug #1192184 reported by
Peter Levi
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Variety |
Confirmed
|
Medium
|
Peter Levi |
Bug Description
We now properly handle SIGINT, SIGQUIT, SIGTERM and clean up.
However, this does not solve the issue with removing clock/quotes on session logout – it seems that in this case we don’t get any UNIX signals, we just get killed. The way to solve this seems to be to listen to DE-specific session-related events…
Some sample code here for PyGTK:
http://
Changed in variety: | |
importance: | High → Medium |
To post a comment you must log in.
https:/ /developer. gnome.org/ gtk3/3. 3/GtkApplicatio n.html# gtk-application -new
GtkApplication provides ways to inhibit the logout until we're done cleaning up. The question now is how to detect the user is actually logging out.
GEdit handles logout gracefully - we need to dig into its source.