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