Newsboat: Browser does not open

I cannot open a browser with the’ o’ key, nothing happens.

Excerpt from the log:

[2018-02-13 18:43:50] DEBUG: configparser::parse: tokenizing browser “/usr/lib/firefox-esr/firefox-esr %u”
[2018-02-13 18:43:54] DEBUG: view::open_in_browser: running `/usr/lib/firefox-esr/firefox-esr ‘https://bits.debian.org/2018/01/gsoc-2018-mentors-and-co-mentors.html’’

If I open the line “/usr/lib/firefox-esr/firefox-esr 'https://bits.debian.org/2018/01/gsoc-2018-mentors-and-co-mentors.html” manually in a command line, the browser is started with the page.

i suspect you would need to patch newsboat to follow proper XDG standards and call “xdg-open %u” instead of hardcoding a path to some browser binary, snap packages do follow the xdg spec here … (and will prevent direct execution of non-included binaries (like your firefox-esr above) for security reasons)

(see https://www.freedesktop.org/wiki/Software/xdg-utils/)

1 Like

Hello,

with this command, all is fine.

Greetings, Dino