[Surfraw-devel] Browser lists and support

Jason Ryan jasonwryan at gmail.com
Sun Dec 20 22:34:15 UTC 2015

In the (unlikely[0]) event that someone starts surfraw without first creating a
config *and* they don't have one of the graphical browsers installed that are
listed in configure.in, they will receive this error message:

/usr/bin/surfraw: line 487: http://www.google.com/search?q=foo&num=30: No such
file or directory

There are a couple of ways that this could be addressed: one, continue to add to
the list in configure.in, which is already reasonably long and caters to most
mainstream browsers or, two, change the default conf at /etc/xdg/surfraw/conf

-def   SURFRAW_graphical_browser    firefox
+def   SURFRAW_graphical_browser    "${BROWSER:-firefox}"

Which narrows the field for those that browse outside the standard list, and are
therefore probably more likely to have set the environment variable.


Happy holidays to all the raw surfers!


0. Likely enough that there is an entry on the Arch Wiki:


GPG: 7817 E3FF 578E EEE1 9F64 D40C 445E 52EA B1BD 4E40

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/surfraw-devel/attachments/20151221/d67e1737/attachment.sig>

More information about the Surfraw-devel mailing list