logseq_browser_config(1)
Make Logseq use the Host Browser (Crostini)
logseq_browser_config(1)
______ __ __ / ____/___ ____/ /__ _____/ /_ ___ ____________ __ / / / __ \/ __ / _ \/ ___/ __ \/ _ \/ ___/ ___/ / / / / /___/ /_/ / /_/ / __/ / / /_/ / __/ / / / / /_/ / \____/\____/\__,_/\___/_/ /_.___/\___/_/ /_/ \__, / /____/
______ __ __ / ____/___ ____/ /__ _____/ /_ _ _ / / / __ \/ __ / _ \/ ___/ __ \/ / / / / /___/ /_/ / /_/ / __/ / / /_/ / /_/ / \____/\ODER/\__,_/\___/_/ /_.___/\_, / ERRY/
______ __ / ____/___ / /_ _ _ / / / __ \/ __ \/ / / / / /___/ /_/ / /_/ / /_/ / \____/\ODER/\_.__/\_, / ERRY/

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