Contents
1. Power Manager API
This API is currently unstable and is likely to change in the future. Power Manager exposes a DBUS API for programs to obtain information about the DPMS state and to change it if required. The following constants are used to uniquely refer to the PowerManager object when making DBUS method calls:
DBUS Service: |
org.gnome.PowerManager |
DBUS Object Path: |
/org/gnome/PowerManager |
DBUS Interface: |
org.gnome.PowerManager |
See CVS copy of the DBUS interface for the latest changes.
There is also the Inhibit test file for an example of how to add Inhibit and UnInhibit methods into your existing program.
2. Screensaver API
This API is currently unstable and is likely to change in the future. Screensaver exposes a DBUS API for programs to obtain information about the screensaver state and to interact with the screensaver in limited ways. The following constants are used to uniquely refer to the ScreenSaver object when making DBUS method calls:
DBUS Service: |
org.gnome.ScreenSaver |
DBUS Object Path: |
/org/gnome/ScreenSaver |
DBUS Interface: |
org.gnome.ScreenSaver |
See CVS copy of the DBUS interface for the latest changes.