File: 50-open-help-in-browser.patch

package info (click to toggle)
dx 1%3A4.4.4-19
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 56,128 kB
  • sloc: ansic: 365,481; cpp: 156,584; sh: 10,872; java: 10,641; makefile: 2,294; javascript: 837; awk: 444; yacc: 327
file content (21 lines) | stat: -rw-r--r-- 600 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Open help in graphical web browser
 This patch causes OpenDX to display its help in a graphical web
 browser, if available, instead of its own built-in help system that is
 unable to display images.
Author: Graham Inggs <graham@nerve.org.za>
Forwarded: no
Last-Update: 2015-06-11
--- a/bin/dx.in
+++ b/bin/dx.in
@@ -6,6 +6,11 @@
 #  directory.
 #
 
+# Open help in x-www-browser, if available
+if [ -f /usr/bin/x-www-browser ]; then
+  export DX_WEB_BROWSER=/usr/bin/x-www-browser
+fi
+
 # Name as reported with -version option 
 version_name="Open Visualization Data Explorer Script"