Description: Use x-terminal-emulator, not xterm
Author: Francesco Paolo Lovergine <frankie@debian.org>
Last-Update: 2009-07-06
--- a/Choices/MIME-types/text
+++ b/Choices/MIME-types/text
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec xterm -e vi "$@"
+exec x-terminal-emulator -e sensible-editor "$@"
--- a/Choices/MIME-types/text_html
+++ b/Choices/MIME-types/text_html
@@ -1,13 +1,3 @@
 #!/bin/sh
 
-for app in firefox mozilla-firefox firebird mozilla-firebird galeon mozilla netscape skipstone dillo konqueror amaya; do
-  if [ -x "`which $app`" ]; then exec "$app" "$@"; fi
-done
-
-for app in w3m lynx links vim vi; do
-  if [ -x "`which $app`" ]; then exec xterm -e "$app" "$@"; fi
-done
-
-echo "Can't find any web browser installed... last try..." >&2
-
-exec netscape "$@"
+exec x-www-browser "$@"
