[Surfraw-devel] sensible-browser: command not found [newb]

Ian Beckwith ianb at erislabs.net
Thu Jul 17 02:53:07 UTC 2008


On Wed, Jul 09, 2008 at 07:58:34AM -0400, Neal Becker wrote:
> sr -t google Neal Becker
> /usr/bin/surfraw: line 333: sensible-browser: command not found

oops, that's a debian-specific customisation that found its way into
the main code. I'll fix it in a couple of days, but until then, you
can configure which browser to use in any of three ways:

1. Environment Variables

If using bash, add to your .profile:

export SURFRAW_browser=browsername

then either log out and in again or source ~/.profile

2. System-wide surfraw config

Add to /etc/surfraw.conf, /usr/local/etc/surfraw.conf or
$PREFIX/etc/surfraw.conf:

def SURFRAW_browser browsername

3. Per-user surfraw config:

Add to ~/.surfraw.conf:

SURFRAW_browser=browsername


If you want to set separate browsers for graphical (-g) and text (-t) mode,
instead of setting SURFRAW_browser, set SURFRAW_text_browser and
SURFRAW_graphical_browser.

Ian.

-- 
Ian Beckwith - ianb at erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Godspeed you! Black emperor - Yanqui U.X.O. - 09-15-00 [part 2]



More information about the Surfraw-devel mailing list