On Wed, May 22, 2019, 12:13 Germano Massullo <germano.massu...@gmail.com>

> Good day.
> I have noticed that on many Linux distributions with different desktop
> environments, the properties
> IdleSinceHint
> IdleSinceHintMonotonic
> are always equal to zero. This happens even if you try to use a sleep
> in order to simulate a kind of user inactivity.
> What is this happening?

Those desktop environments just do not set the IdleHint at all.

(Logind on its own cannot determine idleness "from the outside", it relies
on the DE to pass this information.)

If your program is already X11-based, you could use the screensaver
protocol to get idle status and forward it to logind.
systemd-devel mailing list

Reply via email to