From Fedora Project Wiki
< Desktop | Whiteboards
Problem
The Inhibit pattern has proven to be quite successful. But, we currently (as of GNOME 2.24) have the following different uses:
* http://www.gnome.org/~mccann/gnome-screensaver/docs/gnome-screensaver.html#gs-method-Inhibit * http://people.freedesktop.org/~hughsient/temp/dbus-interface.html#dbus-inhibit * http://www.gnome.org/~mccann/gnome-session/docs/gnome-session.html#org.gnome.SessionManager.Inhibit
Discussion
Action | Interface |
---|---|
Session idleness | org.gnome.ScreenSaver.Inhibit |
Automatic screen locking | org.gnome.ScreenSaver.Inhibit |
Switching users | org.gnome.SessionManager.Inhibit |
Automatic suspend | org.freedesktop.PowerManagement.Inhibit |
Automatic hibernation | org.freedesktop.PowerManagement.Inhibit |
Logout | org.gnome.SessionManager.Inhibit |
Reboot/Shutdown | TBD |
References
* http://bugzilla.gnome.org/show_bug.cgi?id=334809#c6