diff -U2 --recursive maxima-5.13.0.orig/interfaces/emacs/misc/bookmode.el maxima-5.13.0/interfaces/emacs/misc/bookmode.el --- maxima-5.13.0.orig/interfaces/emacs/misc/bookmode.el 2000-05-08 13:09:44.000000000 +0700 +++ maxima-5.13.0/interfaces/emacs/misc/bookmode.el 2007-08-28 22:45:07.000000000 +0700 @@ -681,5 +681,5 @@ (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)) )) @@ -706,5 +706,5 @@ (cond ((looking-at "%PS") "") (t "gzip -dc | ")) - "ghostview -") + "xdg-open -") ))) diff -U2 --recursive maxima-5.13.0.orig/interfaces/xmaxima/Tkmaxima/Constants.tcl maxima-5.13.0/interfaces/xmaxima/Tkmaxima/Constants.tcl --- maxima-5.13.0.orig/interfaces/xmaxima/Tkmaxima/Constants.tcl 2006-10-02 05:42:48.000000000 +0700 +++ maxima-5.13.0/interfaces/xmaxima/Tkmaxima/Constants.tcl 2007-08-28 22:46:44.000000000 +0700 @@ -144,7 +144,7 @@ image/png netmath image/jpeg netmath - application/postscript "ghostview -safer %s" - application/pdf "acroread %s" - application/x-dvi "xdvi %s" + application/postscript "xdg-open -safer %s" + application/pdf "xdg-open %s" + application/x-dvi "xdg-open %s" } set maxima_priv(imagecounter) 0