xdg-mime with kde 5 cannot find kde-config
https://gitlab.freedesktop.org/xdg/xdg-utils/blob/master/scripts/xdg-mime.in#L136-142
$ XDG_UTILS_DEBUG_LEVEL=5 xdg-mime default google-chrome.desktop text/html
make_default_kde: No kde runtime detected
make_default_generic google-chrome.desktop text/html
Updating /home/sparr/.config/mimeapps.list
I believe that for KDE_SESSION_VERSION==5 then this should be using kf5-config
to find the config path.
I am unclear on whether profilerc
is still a valid configuration file name in that case.