xwmx / nb

CLI and local web plain text note‑taking, bookmarking, and archiving with linking, tagging, filtering, search, Git versioning & syncing, Pandoc conversion, + more, in a single portable script.
https://xwmx.github.io/nb
GNU Affero General Public License v3.0
6.68k stars 188 forks source link

When NB_GUI_BROWSER is set, the open command doesn't work #336

Closed ericguirbal closed 3 weeks ago

ericguirbal commented 3 months ago

On my Debian box, I can open a bookmark in a web browser as long as the environment variable NB_GUI_BROWSER is not set. If NB_GUI_BROWSER ∈ {"firefox", "dillo"}, nb open open file://home/eric. If NB_GUI_BROWSER ∈ {"chromium", "brave-browser", "luakit"}, nb open launches the browser with a blank page (no url).

xwmx commented 3 weeks ago

@ericguirbal Thanks for the heads up. There was a bug in the code that should be resolved as of version 7.14.0 and higher. Please let me know if you run into any more issues with it. Thanks!