activity: skip FDO ScreenSaver probe on GNOME (idle-inhibit-only endpoint)
GNOME's org.freedesktop.ScreenSaver serves only the idle-inhibit
endpoints defined in the FDO idle-inhibit spec (Inhibit, UnInhibit,
SimulateUserActivity). GetActive is not part of the spec, so calling
it on GNOME raises DBusError("This method is not part of the idle
inhibition specification") — not ServiceUnknown/NameHasNoOwner. The
observable-probes rewrite in cbf581d made this surface as a WARN
every 5 s on GNOME Wayland hosts.
Detect GNOME at call time via case-insensitive token-equality match
on XDG_CURRENT_DESKTOP (colon-split, whitespace-stripped) and skip
the FDO branch entirely on GNOME. Non-GNOME desktops are unchanged
— FDO-first, GNOME fallback. The FDO block remains reachable on
KDE/XFCE/Cinnamon/MATE/etc.
Surfacing trail: lode 7ppx4a7g. Decision to go with
GNOME-as-early-skip (option b) recorded 2026-04-22.
Co-Authored-By: OpenAI Codex <codex@openai.com>