blob: 8f6cb64e8db29d36e0ddaf3cadad28a8dfb399a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
diff -U2 --recursive maxima-5.12.0.orig/interfaces/emacs/misc/bookmode.el maxima-5.12.0/interfaces/emacs/misc/bookmode.el
--- maxima-5.12.0.orig/interfaces/emacs/misc/bookmode.el 2000-05-08 13:09:44.000000000 +0700
+++ maxima-5.12.0/interfaces/emacs/misc/bookmode.el 2007-05-04 17:31:33.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.12.0.orig/interfaces/xmaxima/Tkmaxima/Constants.tcl maxima-5.12.0/interfaces/xmaxima/Tkmaxima/Constants.tcl
--- maxima-5.12.0.orig/interfaces/xmaxima/Tkmaxima/Constants.tcl 2006-10-02 05:42:48.000000000 +0700
+++ maxima-5.12.0/interfaces/xmaxima/Tkmaxima/Constants.tcl 2007-05-04 17:34:36.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 %s"
+ application/pdf "xdg-open %s"
+ application/x-dvi "xdg-open %s"
}
set maxima_priv(imagecounter) 0
|