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

Maris Nartiss maris.gis at gmail.com
Tue Jun 8 12:08:48 EDT 2010


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


2010/6/8, GRASS GIS <trac at osgeo.org>:
> #1086: set_browser
> -----------------------+----------------------------------------------------
>   Reporter:  lucadelu  |       Owner:  grass-dev at lists.osgeo.org
>       Type:  defect    |      Status:  closed
>   Priority:  critical  |   Milestone:  7.0.0
>  Component:  Startup   |     Version:  svn-trunk
> Resolution:  fixed     |    Keywords:
>   Platform:  Linux     |         Cpu:  All
> -----------------------+----------------------------------------------------
> Changes (by neteler):
>
>   * status:  new => closed
>   * resolution:  => fixed
>
> Comment:
>
>  Patch applied, thanks.
>
> --
> Ticket URL: <http://trac.osgeo.org/grass/ticket/1086#comment:1>
> GRASS GIS <http://grass.osgeo.org>
>


More information about the grass-dev mailing list