skyjake/lagrange Issue #213: External protocol handlers
2021-03-19 01:29:34 t-900-a
Would be implemented similar to mozilla firefox how you can be asked which application to open the uri with.
http://kb.mozillazine.org/Register_protocol
Comments (6)
2021-03-19 13:13:38 skyjake
Noting that this is separate from #135 in that one is choosing applications based on URI scheme and not the media type.
2021-04-03 01:31:20 runvnc
Hello, I have made kind of a hacky patch for something like this using `xdg-open`. I am guessing you will want to do it in a more sophisticated/robust way. But it seems to work on my Ubuntu computer.
`gemini://biomimetic.me/lagrange.gmi`
2021-04-05 12:04:56 skyjake
I am guessing you will want to do it in a more sophisticated/robust way.
Yeah, the solution here should be cross-platform or at a minimum #ifdef'd with `iPlatform*` defines. Thanks anyway!
2021-04-05 12:22:30 runvnc
My intention, which I felt was fairly clear, was to provide a simple patch that other users could build off of if they so desired and it happened to suit their needs (such as working on their platform), as a temporary option while waiting for your solution. I would have made a PR if I had been asking you to accept something.
2021-04-10 17:40:00 MCMic
Please do not repeat mozilla mistake of having its own type/software association in Firefox. My OS knows what software should be used to open a file and lagrange should trust it.
2023-03-14 19:32:58 tedwardd
Please do not repeat mozilla mistake of having its own type/software association in Firefox. My OS knows what software should be used to open a file and lagrange should trust it.
But it should be something that can be overridden. My use case for this is that I have a browser profile for work and another for personal. I want URLs opened through gemini to open in a specific profile that is not my default.