Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External protocol handlers #213

Open
t-900-a opened this issue Mar 19, 2021 · 6 comments
Open

External protocol handlers #213

t-900-a opened this issue Mar 19, 2021 · 6 comments
Labels
enhancement New feature or request

Comments

@t-900-a
Copy link

t-900-a commented Mar 19, 2021

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

@skyjake skyjake added the enhancement New feature or request label Mar 19, 2021
@skyjake
Copy link
Owner

skyjake commented Mar 19, 2021

Noting that this is separate from #135 in that one is choosing applications based on URI scheme and not the media type.

@skyjake skyjake changed the title Support for protocol handlers Support for user-configured protocol handlers Mar 19, 2021
@skyjake skyjake changed the title Support for user-configured protocol handlers External protocol handlers Mar 19, 2021
@runvnc
Copy link

runvnc commented Apr 3, 2021

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

@skyjake
Copy link
Owner

skyjake commented Apr 5, 2021

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!

@runvnc
Copy link

runvnc commented Apr 5, 2021

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.

@MCMic
Copy link
Contributor

MCMic commented Apr 10, 2021

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.

@tedwardd
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants