Stephen Gallagher 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 and
instead base your decisions off of availability of particular
functionality. For example, if your application needs to manage
software updates, have it check for whether PackageKit or dnf-daemon
are available. If it needs to store something in a password wallet,
check for GNOME Keyring or KWallet, etc.
Another solution is to use abstraction layers. E.g., for the password
wallet, you can use QtKeychain:
https://github.com/frankosterfeld/qtkeychain
To open a document or web page, instead of hardcoding the application (e.g.,
the web browser), you can run xdg-open. Etc.
Kevin Kofler