GNOME Bugzilla – Bug 423829
ConsoleKit plugin
Last modified: 2014-12-02 01:31:06 UTC
Would be nice to have a ConsoleKit plugin that pauses the player when the active session changes (when user-switching etc). http://people.freedesktop.org/~mccann/doc/ConsoleKit/ConsoleKit.html Here is some example code in python: http://gitweb.freedesktop.org/?p=ConsoleKit.git;a=blob;hb=HEAD;f=src/test-fus
I've coded the "Pause When Away" feature in a plugin that's currently bundled with the Session Presence Manager code. It adds a GConf option and a UI option under the "Control" menu to enable and disable. http://live.gnome.org/SessionPresence I think it would be most logical to put ConsoleKit support into the SPM daemon to solve this problem via proxy.
Consolekit is dead, long live logind.