D-Bus Interfaces
Use Gnoblin D-Bus interfaces for session integration and idle monitoring. Availability depends on the standalone session and the relevant service.
On this page
org.gnoblin.Compositor
The compositor exports this interface at /org/gnoblin/Compositor.
org.gnoblin.SessionIdle
The session idle service is available at /org/gnoblin/SessionIdle.
GetActivity() returns the same values as the ActivityChanged signal:
| Value | D-Bus type | Meaning |
|---|---|---|
available |
boolean | Whether the idle monitor is available. |
idle |
boolean | Whether the fixed idle threshold has elapsed. |
threshold_ms |
unsigned 64-bit integer | Idle threshold in milliseconds, fixed at 120,000. |
idle_for_ms |
unsigned 64-bit integer | Elapsed idle time, or zero when not idle. |
The signal is sent when availability or idle state changes. Its duration is a sample and does not update continuously. Idle inhibitors and desktop timeout preferences do not change the fixed threshold.
The service also implements org.freedesktop.ScreenSaver for inhibition and
lock requests. See the screen saver interface reference.