I need to open an external application with an url scheme in Firefox snap version. It works on Kubuntu 23.10 but not Ubuntu 23.10. Both are the same Firefox snap version and the same snapd version (2.61.3+23.10).
I want to know how to make it work with Ubuntu.
Thank you in advance,
However, if I check the url scheme in question, I get a different output:
$ gio mime x-scheme-handler/leaptofrogans
Default application for “x-scheme-handler/leaptofrogans”: frogansplayer.desktop
No registered applications
No recommended applications
This is however not exactly my problem. I want in fact to open an external application in Firefox by clicking on a link which itself is an url scheme, some thing like we click on a link zoomus://, whatsapp:// etc, it will open directly the corresponding installed application.
But if we use xdg-open command, the related application can be opened correctly.
xdg-open leaptofrogans:frogans*demo-Tennis-Live
For your information,
I can open the application in Firefox if this is a firefox installed directly from deb package of Mozilla.
It works with Firefox snap version if we are in Kubuntu.
I found a bug description in snapd project. This is exactly my problem on Ubuntu. But I don’t think my problem comes from this bug since snap uses now xdg-desktop-portal, a more general solution.
Thank you for your reply, I got an output as below:
$ file --mime-type leaptofrogans:frogans*demo-Tennis-Live
leaptofrogans:frogans*demo-Tennis-Live: cannot open `leaptofrogans:frogans*demo-Tennis-Live' (No such file or directory)
FYI, that might be normal, e.g. if we use the command file to test https://www.google.com, we get the same result:
$ file --mime-type https://www.google.com/
https://www.google.com/: cannot open `https://www.google.com/' (No such file or directory)