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]
On Tue, Jun 8, 2010 at 6:08 PM, Maris Nartiss <maris.gis@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]
As my Python skeeelZ are not 1337 yet, let's hope I have not messed up
anything with r42537
Maris.
2010/6/8, Markus Neteler <neteler@osgeo.org>:
On Tue, Jun 8, 2010 at 6:08 PM, Maris Nartiss <maris.gis@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]