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

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

 



Germano Massullo skrev:
>Il giorno mar 4 giu 2019 alle ore 17:31 Björn Persson
><Bjorn@rombobjörn.se> ha scritto:
>> Have you confirmed that you're able to query another user's desktop session once
>> you know which desktop it is?  
>
>I cannot read XDG_CURRENT_DESKTOP of other users. I am actually
>wondering if checking for specific executables [1] [2] would be the
>best idea

If you solve that problem, then as the next step you'll want to query
the session: Is it active or idle? I'll be surprised if you can do that
to another user's session without help from some privileged service.

Björn Persson

Attachment: pgpxmHosBnFih.pgp
Description: OpenPGP digital signatur

_______________________________________________
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