screensaver and power manager dbus interfaces

Rodrigo Moya rodrigo at
Thu Jun 1 12:46:45 EEST 2006

On Wed, 2006-05-31 at 23:01 +0100, Richard Hughes wrote:
> The GNOME Screensaver DBUS API
> ------------------------------


>         Name:           setActive
>         Args:           DBUS_TYPE_BOOLEAN state
>                         state: TRUE to request activation,
>                                FALSE to request deactivation
>         Returns:        (nothing)
>         Description:    Request a change in the state of the screensaver.
>                         Set to TRUE to request that the screensaver activate.
>                         Active means that the screensaver has blanked the
>                         screen and may run a graphical theme.  This does
>                         not necessary mean that the screen is locked.
>         Name:           getActive
>         Args:           (none)
>         Returns:        DBUS_TYPE_BOOLEAN
>         Descriptions:   Returns the value of the current state of activity.
>                         See setActive().
I recently, while fixing a bug for SLED10, came to the need to know if
the screen was locked or not, so what about changing these get/setActive
to get/setStatus, and return things like STATUS_ACTIVE, STATUS_LOCKED,
Rodrigo Moya <rodrigo at>

More information about the xdg mailing list