Re: interacting with logind to detect user idle time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mi, 08.05.19 14:37, Germano Massullo (germano.massullo@xxxxxxxxx) 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

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux