--- maxima-5.11.0/interfaces/emacs/misc/bookmode.el.xdg_utils 2000-05-08 01:09:44.000000000 -0500 +++ maxima-5.11.0/interfaces/emacs/misc/bookmode.el 2006-12-27 13:07:51.000000000 -0600 @@ -680,7 +680,7 @@ (and tem (list (concat "View "(nth 1 tem)) - 'call-process "ghostview" nil nil nil + 'call-process "xdg-open" nil nil nil (expand-file-name(nth 1 tem)) )) (list "Cancel") @@ -705,7 +705,7 @@ (concat (cond ((looking-at "%PS") "") (t "gzip -dc | ")) - "ghostview -") + "xdg-open -") ))) --- maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Menu.tcl.xdg_utils 2006-12-09 13:52:11.000000000 -0600 +++ maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Menu.tcl 2006-12-27 13:00:45.000000000 -0600 @@ -245,9 +245,9 @@ } } else { - set selectedbrowser mozilla + set selectedbrowser xdg-open - foreach b { firefox mozilla konqueror epiphany galeon amaya netscape } { + foreach b { xdg-open htmlview firefox mozilla konqueror epiphany galeon amaya netscape } { if { ! [catch {exec which $b} ] } { set selectedbrowser $b break } } --- maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Constants.tcl.xdg_utils 2006-10-01 17:42:48.000000000 -0500 +++ maxima-5.11.0/interfaces/xmaxima/Tkmaxima/Constants.tcl 2006-12-27 13:01:52.000000000 -0600 @@ -143,9 +143,9 @@ image/gif netmath image/png netmath image/jpeg netmath - application/postscript "ghostview -safer %s" - application/pdf "acroread %s" - application/x-dvi "xdvi %s" + application/postscript "xdg-open %s" + application/pdf "xdg-open %s" + application/x-dvi "xdg-open %s" } set maxima_priv(imagecounter) 0