Re: Writing C/C++ code to detect running desktop environment

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

 



Il giorno mer 29 mag 2019 alle ore 22:12 Stephen Gallagher
<sgallagh@xxxxxxxxxx> ha scritto:
>
> On Wed, May 29, 2019 at 1:16 PM Kalev Lember <kalevlember@xxxxxxxxx> 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
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux