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

Support for gio open on Linux #30

Closed
City-busz opened this issue Apr 18, 2021 · 3 comments
Closed

Support for gio open on Linux #30

City-busz opened this issue Apr 18, 2021 · 3 comments

Comments

@City-busz
Copy link
Contributor

On most Linux systems, the gio binary from glib2 package is available to open URLs, e.g.:
$ gio open https://github.com/

It would be nice if this library would be able to use it.

@Byron
Copy link
Owner

Byron commented Apr 18, 2021

You are welcome to append the program name to this list and submit a PR. Thanks

["xdg-open", "gnome-open", "kde-open", "wslview"] // Open handlers

@City-busz
Copy link
Contributor Author

I opened a PR #31. It's a bit more complex, because the gio command requires an additional open argument. I put it before gnome-open, because gio open is meant to be a replacement for gnome-open. gnome-open is deprecated years ago, and cannot be found on modern Linux distributions.

@Byron
Copy link
Owner

Byron commented Apr 18, 2021

Thanks for your help.
v1.7 was just released, containing the change.

@Byron Byron closed this as completed Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants