Skip to content

Instantly share code, notes, and snippets.

@bludnic
Created April 30, 2024 23:19
Show Gist options
  • Save bludnic/50904dd153882bccfb02766d563ab80a to your computer and use it in GitHub Desktop.
Save bludnic/50904dd153882bccfb02766d563ab80a to your computer and use it in GitHub Desktop.
Open links with native ChromeOS browser from Linux container

That's what I had to use after installing a few other browsers in Linux. Apparently one of them had reset some of the settings. Garcon_host_browser is the link application which will pass the URL to be opened to the Chrome browser on the ChromeOS side.

unset BROWSER
xdg-settings set default-web-browser garcon_host_browser.desktop
sudo xdg-settings set default-web-browser garcon_host_browser.desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment