From: Jonathan Nieder Date: Wed, 01 Dec 2010 15:49:59 GMT Subject: Re: [PATCH 5/6] web--browse: use (x-)www-browser if available Message-ID: <20101201154959.GA26120@burratino> In-Reply-To: Giuseppe Bilotta wrote: > I will look into adding support for the BROWSER environment variable > to select the browser if no browser is defined Thanks, that sounds excellent. BTW, the semantics of quoting characters/shell metacharacters in $BROWSER are not well defined (well, they're well defined in one way by the original spec, which is ignored by xdg-open and some other tools). xdg-open's semantics are probably the most reliable standard here but thought I should give a heads up. Thinking out loud: longer term, it would be nice to just use xdg-utils and drop most of this logic from git. Presumably the ideal behavior for most apps opening web pages is already "new tab", so the cases of "new window" not explicitly configured that way by the user are bugs. Otherwise a request to portland@lists.freedesktop.org (subscription required) for xdg-open --new-tab/--new-window might be useful. Regards, Jonathan