Il giorno mer 29 mag 2019 alle ore 22:12 Stephen Gallagher
<sgallagh(a)redhat.com> ha scritto:
On Wed, May 29, 2019 at 1:16 PM Kalev Lember <kalevlember(a)gmail.com> wrote:
I realize you said that the reasons are off-topic, but in general I'd
recommend not making desktop-specific decisions at a high-level
I need to retrieve user idle time. To achieve this I was using GDbus
API of GLib/GIO to retrieve the systemd-logind IdleSinceHint DBus
property, but I have been told that logind relies on desktop
environment to pass the information to update this property. None of
main desktop environments does it, so I am writing code that will
interact with specific d.e. to retrieve user idle time. More infos at
"[systemd-devel] interacting with logind to detect user idle time"[1]
[1]:
https://lists.freedesktop.org/archives/systemd-devel/2019-May/042496.html