Leo wrote:
> * Andrey G. Grozin (2006-12-27 00:41 +0600) said:
> ^^^^^^^^^^^^^^^^
>> 1. The list of browsers tried by xmaxima looks antiquated: who now
>> remembers what was netscape? A better list is in the patch:
>>
>> diff -U2 --recursive
>> maxima-5.11.0-orig/interfaces/xmaxima/Tkmaxima/Menu.tcl
>> maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Menu.tcl
>> --- maxima-5.11.0-orig/interfaces/xmaxima/Tkmaxima/Menu.tcl 2006-12-09
>> 20:52:11.000000000 +0100
>> +++ maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Menu.tcl 2006-12-26
>> 22:59:33.000000000 +0100 @@ -246,7 +246,7 @@
>> } else {
>>
>> - set selectedbrowser mozilla
>> + set selectedbrowser firefox
>>
>> - foreach b { firefox mozilla konqueror epiphany galeon amaya netscape }
>> {
>> + foreach b { firefox konqueror epiphany galeon mozilla opera } {
>> if { ! [catch {exec which $b} ] } {
>> set selectedbrowser $b
>
> Still not the optimal solution. Seems Fedora has a patch to use
> xdg-utils to select the preferred web browser. I have included the
> maintainer Rex Dieter in the CC.
Agreed. (-:
Attached is the patch to enable use of xdg-utils in place of hard-coded
calls to web browses, ps/pdf apps.
-- Rex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maxima-5.11.0-xdg_utils.patch
Type: text/x-diff
Size: 1695 bytes
Desc: not available
Url : http://www.math.utexas.edu/pipermail/maxima/attachments/20061227/dbb7ca9c/attachment.bin