Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3627

General Questions • Re: [Software] Trixie XFCE4: how to fire off a shell script when the system idle state changes?

$
0
0

It turns out that IdleHint from busctl monitor org.freedesktop.login1 doesn't actually change from "false" to "true" when screensavers detect that the system goes idle.

My guess is that the "idle"-ness that screensavers check for is different from the "idle"-ness that monitor org.freedesktop.login1 reports. Screensavers are just checking for no user keyboard interaction and no user mouse interaction, while busctl perhaps is looking for some sort of low process activity or low CPU utilization, or something like that.

I'm looking for the "idle"-ness that screensavers detect.

But busctl is still quite useful for a number of other things, and again, I appreciate your pointing me to that utility.

Statistics: Posted by Hippo Man — 2026-01-16 22:24



Viewing all articles
Browse latest Browse all 3627

Trending Articles