Newsboat: How to open links in Chrome browser on macOS

Created on 28 Apr 2018  路  1Comment  路  Source: newsboat/newsboat

Newsboat version 2.11.1:

I'm aware that the default open-in-browser command opens in lynx, and that works well for me. However, many feeds I use are best viewed in a gui brower (lots of images, paywalls, etc...). How can I set Chrome as the default browser to open links with "o"? I'm on macOS, so I tried linking the Chrome bin, however it has spaces in the filename that are not parsed/escaping properly in newsboat. I get the error:
sh: /Applications/Google: No such file or directory

  • which is a truncated version of the actual path (see below).

Steps to reproduce the issue:

  1. browser "/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"

Anyone have Chrome up and running on mac as their newsboat browser?

question

Most helpful comment

I figured out something that works.
My config file now says:
browser /usr/bin/open -a "/Applications/Google Chrome.app" '%u'

>All comments

I figured out something that works.
My config file now says:
browser /usr/bin/open -a "/Applications/Google Chrome.app" '%u'

Was this page helpful?
0 / 5 - 0 ratings