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

Alternative URL opener on WSL - wslview #173

Closed
tiagonapoli opened this issue Mar 17, 2020 · 2 comments · Fixed by #188 or #195
Closed

Alternative URL opener on WSL - wslview #173

tiagonapoli opened this issue Mar 17, 2020 · 2 comments · Fixed by #188 or #195

Comments

@tiagonapoli
Copy link
Contributor

Regarding this #170 issue, I created an issue in WSL (microsoft/WSL#4981) and discovered this https://github.com/wslutilities/wslu, which is preinstalled in new WSL apps and offer the wslview utility, to open URLs.

What do you think about using it, @sindresorhus @pluma ?

@pluma
Copy link
Contributor

pluma commented Mar 17, 2020

Sounds good to me.

@pluma
Copy link
Contributor

pluma commented Oct 26, 2020

Wait a second. What do you mean by "preinstalled in new WSL apps" and where did you get that info?

It's definitely not included in my WSL2 Ubuntu, which caused this to break for me. I had to install wslu from a third-party package registry because it was not on the official Ubuntu package registry either.

Not sure why it didn't work before but apparently the expected package is ubuntu-wsl when using Ubuntu and according to the wslutilities repo it is pre-installed in "new apps" (probably meaning newer WSL distros?). It wasn't pre-installed in my pre-existing WSL Linux which I upgraded from WSL1 so it's probably a good idea to check if the command exists and give a more meaningful error message instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants