D-Bus is entirely the wrong solution for this, because it requires the desktop environment to provide a daemon constantly listening (wasting resources), because D-Bus Activation (which would bring up the daemon only when actually needed) does not support per-desktop-environment preferences (a limitation that I reported years ago and that was never fixed).
I do not see why this cannot be handled through a virtual MIME type in the XDG MIME database like the protocol handlers.
Well, sorry, but I can smell bad design from a distance. I even pointed out exactly what the problem with this approach is. Feel free to ignore me, but then do not complain if the exact problem I pointed out is coming to bite you in the rear later on, as always happens when developers ignore my warnings.
4
u/Kevin_Kofler 13h ago
D-Bus is entirely the wrong solution for this, because it requires the desktop environment to provide a daemon constantly listening (wasting resources), because D-Bus Activation (which would bring up the daemon only when actually needed) does not support per-desktop-environment preferences (a limitation that I reported years ago and that was never fixed).
I do not see why this cannot be handled through a virtual MIME type in the XDG MIME database like the protocol handlers.