Details Ticket 2593


Comment | Reply | Take | Open


Serial Number 2593
Subject init.sh uses non-default HTML browser (i.e. konqueror on a GNOME desktop)
Area bug
Queue grass
Requestors jan.iven@cern.ch
Owner none
Status resolved
Last User Contact Fri Aug 27 07:58:33 2004 (4 yr ago)
Current Priority 20
Final Priority 70
Due No date assigned
Last Action Fri Aug 27 07:58:36 2004 (4 yr ago)
Created Thu Aug 26 11:28:53 2004 (4 yr ago)

Transaction History Ticket 2593


Thu, Aug 26 2004 11:28:53    Request created by guest  
Subject: init.sh uses non-default HTML browser (i.e. konqueror on a GNOME desktop)
Platform: GNU/Linux/i386 
grass obtained from: CVS 
grass binary for platform: Compiled from Sources 
GRASS Version: 5.7.cvs checked out on 20040823 
 
grass51/lib/init/init.sh has a static list of preferred HTML browsers which 
doesn't take into account the user's preferences (unless specified  
explicitly for GRASS via GRASS_HTML_BROWSER). I suggest to add the  
"htmlview" script to the top of this list, this should at least on Red Hat  
Linux systems better match the users's default browser.  
  
--- ./lib/init/init.sh.orig     2004-08-26 11:25:06.000000000 +0200  
+++ ./lib/init/init.sh  2004-08-26 11:26:04.000000000 +0200  
@@ -193,7 +193,10 @@  
                                 s/:$/:./  
                                 s/:/ /g'`  
     do  
-        if [ -f "$i/konqueror" ] ; then  
+        if [ -f "$i/htmlview" ] ; then  
+            GRASS_HTML_BROWSER=htmlview  
+            break  
+        elif [ -f "$i/konqueror" ] ; then  
             GRASS_HTML_BROWSER=konqueror  
             break  
         elif [ -f "$i/mozilla" ] ; then  
  
Fri, Aug 27 2004 07:58:33    Mail sent by mneteler  
Commited to CVS.

Thanks
Markus
Fri, Aug 27 2004 07:58:36    Status changed to resolved by mneteler  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request