[GRASS-SVN] r64608 - grass/trunk/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Feb 13 07:24:57 PST 2015
Author: martinl
Date: 2015-02-13 07:24:57 -0800 (Fri, 13 Feb 2015)
New Revision: 64608
Modified:
grass/trunk/lib/init/grass.py
Log:
Prefer xdg-open and x-www-browser for HTML browser.
GRASS 6 used a shell script to set the GRASS_HTML_BROWSER environment variable.
GRASS 7 reimplemented the shell script in Python.
.
The original version of this patch was made by Francesco Paolo Lovergine, and
ported to Python by Bas Couwenberg.
Author: Francesco Paolo Lovergine <frankie at debian.org>
Author: Bas Couwenberg <sebastic at xs4all.nl>
(taken from http://anonscm.debian.org/cgit/pkg-grass/grass.git/)
Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py 2015-02-13 15:16:22 UTC (rev 64607)
+++ grass/trunk/lib/init/grass.py 2015-02-13 15:24:57 UTC (rev 64608)
@@ -479,7 +479,7 @@
browser = "explorer"
else:
# the usual suspects
- browsers = ["xdg-open", "htmlview", "konqueror", "mozilla",
+ browsers = ["xdg-open", "x-www-browser", "htmlview", "konqueror", "mozilla",
"mozilla-firefox", "firefox", "iceweasel", "opera",
"netscape", "dillo", "lynx", "links", "w3c"]
for b in browsers:
More information about the grass-commit
mailing list