[GRASS-dev] Re: [GRASS GIS] #1086: set_browser

Markus Neteler neteler at osgeo.org
Tue Jun 8 14:02:45 EDT 2010


On Tue, Jun 8, 2010 at 6:08 PM, Maris Nartiss <maris.gis at gmail.com> wrote:
> Hi,
> current trunk's grass.py HTML browser setup code is using wrong
> approach on Linux and Windows.
>
> If GRASS_HTML_BROWSER is unset:
> On Linux it should at first check for presence of xdg-open command
> from Portland project [1] and only in case of Portland absence start
> "Guess the browser" game. xdg-open will use user's preffered browser;
> Similar on Windows, it should use "explorer" as default. No guessing
> required. [2]
>
>
> Maris.
>
> 1. http://portland.freedesktop.org/wiki/
> 2. http://trac.osgeo.org/grass/ticket/980

If you know, please submit a fix,

thanks
Markus


More information about the grass-dev mailing list