Il giorno mar 4 giu 2019 alle ore 17:31 Björn Persson <Bjorn@rombobjörn.se> ha scritto: > So the question isn't what desktop the user is using, but rather what > desktops, if any, other users on the machine are using. Well when I started the thread I had not thought that BOINC client service is running on a confined user. > 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 [1]: like for example /usr/bin/plasmashell [2]: or scanning running processes _______________________________________________ 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