[systemd-devel] interacting with logind to detect user idle time

Lennart Poettering lennart at poettering.net
Mon May 13 08:00:03 UTC 2019

On Mi, 08.05.19 14:37, Germano Massullo (germano.massullo at gmail.com) wrote:

> Hi, I am doing some practice with writing software using GDBus API. I
> need it to implement on BOINC client, user(s) idle time detection by
> retrieving such info from logind.
> In order to retrieve user idle time I was thinking of using the
> property IdleSinceHint. What do you think about?

Yes, it tells you about the time logind thinks a session has been
idle. Note that it only works correctly on desktops that support it.


Lennart Poettering, Berlin

More information about the systemd-devel mailing list