Synopsis
Use the ChromeOS default browser for external links in Logseq
Description
What
Logseq appears to use whatever browser is indicated by xdg-open
xdg-open is defined in terms of application definition files with names like org.mozilla.firefox.desktop
Why
On crostini, $XDG_DATA_DIRS defines where these are found, and the application which opens the ChromeOS browser is garcon_host_browser.desktop
To check what's configured:
- xdg-settings get default-web-browser
How
To change what's configured:
- xdg-mime default garcon_host_browser.desktop garcon_host_browser.desktop x-scheme-handler/https x-scheme-handler/http
FAQ
- Why not xdg-settings set default-web-browser garcon_host_browser.desktop?
- At least on my install that doesn't work. The xdg-mime setting seems to take precedence.
- I don't see what I want in $XDG_DATA_DIRS
- check out this for a full list of locations.
See Also
Author
Written by Michael Smit
Copyright
©2024 Michael Smit