Open elros34 opened 3 years ago
Yep, a well-known issue - sorry for the inconvenience! Ideally, Jolla comes up with a solution to integrate properly with the MIME handlers in a Harbour-compatible way without harming other apps. But as that's unlikely we probably need to find a proper solution which everybody can live with:
However, from my point of view there are still open questions:
Until this is fixed entirely, there is the possibility to remove the changes made by Fernschreiber by going to its Settings and uncheck the "Integration with Open-With menu" option. If there are still problems, you can try https://openrepos.net/content/llelectronics/mimer
A few popular apps use same approach so I don't see any proper solution except merging mimeinfo.cache from both directories (maybe also /usr/local/share/applications/) in libcontentaction. Asking about adding fernschreiber to MIME types at first start or just keep it false by default is perfectly fine solution for me.
If you really want to handle it for all cases and don't plan do upload it to harbour then yes copying is the workaround
~/.local/share/applications/mimeinfo.cache takes precedence of /usr/share/applications/mimeinfo.cache so installing other apps which register https will not help.
This seems to belong to a bunch of related issues: #151, #276, #312, #412 (this comment is copied to all of them) Proposed way to hopefully fix most of them:
MimeType=x-url-handler
(caveat: according to link, update-desktop-database
isn't called after installation yet…)LocalUrlHandlers
; also look below)
After first start fernschreiber creates harbour-fernschreiber-open-url.desktop in ~/.local/share/applications and run update-desktop-database as user thus all mime handlers which use x-scheme-handler/https (some apps) or x-scheme-handler/tg (depecher) and are installed in /usr/share/applications/ are now ignored by xdg-open and Open file dialog. Also removing application doesn't clean up mess in ~/.local/share/applications/ directory.
I know this is old way to fool harbour rules used by some apps but please do not enable such a behavior by default.