akrennmair / newsbeuter

Newsbeuter is an open-source RSS/Atom feed reader for text terminals.
http://www.newsbeuter.org/
MIT License
780 stars 100 forks source link

Config File Not Working #145

Open pjbrow opened 10 years ago

pjbrow commented 10 years ago

Hi Guys

I can't get newsbeuter to use my config file. I've installed newsbeuter 2.8 with brew on a mac running Mavericks.

I've encountered this while trying to configure to open links in a specific browser.

My config file called "config" is located in dir /Users/Pat/.newsbeuter.

The config command I've got in it is:

browser w3m

I've also tried a few other browsers, all with no joy.

The logs I get when I try and open with w3m are:

XDG: data directory '/Users/Pat/.local/share/newsbeuter' not accessible, using '/Users/Pat/.newsbeuter' instead.
Starting newsbeuter 2.8...
Loading configuration...done.
Opening cache...done.
Loading URLs from /Users/Pat/.dots/.newsbeuter/urls...done.
Loading articles from cache...done.
sh: lynx: command not found
sh: lynx: command not found
sh: lynx: command not found
sh: lynx: command not found
sh: lynx: command not found
Cleaning up cache...done.

So basically, it says that it has read the config file but it's not using it because it's still trying to use lynx as default browser. I'm added auto-reload yes to config and that option doesn't seem to take either.

Anyone having a similar issue?

yang-ling commented 9 years ago

Try to use full path. e.g. browser /usr/bin/w3m

I am on ArchLinux and this config works fine.

h3xx commented 9 years ago

If I gather you correctly, you have a "real" directory (not a symlink) called .newsbeuter in your home directory.

In it you have:

You said you used newsbeuter-2.8. Can you reproduce this in newsbeuter-2.9?

annndrey commented 9 years ago

Try to set BROWSER variable in bash to w3m, it worked for me export BROWSER=w3m

Minoru commented 9 years ago

@pjbrow, did any of the above suggestions help?

jfm commented 6 years ago

I know this is old, but I just ran into the same problem... The solution was, for me, to make sure that the last line ends with a newline.