We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Things I tried:
export the BROWSER variable in bashrc or zshrc.
export BROWSER=wslview
Running xdg-settings get default-web-browser
Shows me firefox.desktop
After running this. And selecting wslview
It did not update for xdg. Neither did this.
But after I removed the BROWSER export and I ran the command to set default it worked.
Was able to test on an xdg app by running
xdg-open https://github.com
This app comes from the xdg-utils package.
xdg-utils
Solution: Create the wslview.desktop according to: wslutilities/wslu#214
xdg-settings set default-web-browser wslview.desktop update-alternatives --config x-www-browser
But I'm not sure if this also sets it for other potential usages of opening URL in default browser.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Things I tried:
export the BROWSER variable in bashrc or zshrc.
Use default host browser
export BROWSER=wslview
Running
xdg-settings get default-web-browser
Shows me
firefox.desktop
After running this.
And selecting wslview
It did not update for xdg.
Neither did this.
But after I removed the BROWSER export and I ran the command to set default it worked.
Was able to test on an xdg app by running
This app comes from the
xdg-utils
package.Solution:
Create the wslview.desktop according to: wslutilities/wslu#214
But I'm not sure if this also sets it for other potential usages of opening URL in default browser.
The text was updated successfully, but these errors were encountered: