Is there documentation for the preferred:// URI schema somewhere? As far as I understand, this is only used by KDE, right? If this is not the case, I’m happy to be referred elsewhere.
Specifically, my main questions are:
I only know about preffered://filemanager and preferred://browser myself. Are there additional such URIs e.g. anything like preferred://editor?
How can I manually see what these resolve to?
How is it determined what these resolve to? Do they use some internal KDE settings, or xdg stuff, or something else?
Note that I already asked this in the KDE User Help Matrix chat, but got no answer. If necessary, I can of course close this as a duplicate.
I have myself only seen this schema mentioned in the context of KDE, see e.g. bug report number 436667 (sorry don’t have enough posts to be allowed to include links)
or this part of the docs/source for the Icons-only task manager: /applets/taskmanager/package/contents/config/main.xml#L100 (in the plasma-desktop repository).
Aha! A Plasma internal thing.
That explains why it didn’t work in Dolphin
From what I can see it understands the following keys (host part of the URL): mailer, browser, terminal, filemanager.
Everything else is considered a MIME type and its default handler.
Not sure how useful that is given that the host part of an URL does not contain any forward slashes but MIME types do.
I guess it could work for MIME type main categories such as image or text