summaryrefslogtreecommitdiff
path: root/debian/patches/100-gmrunrc.patch
diff options
context:
space:
mode:
authorLukas Schwaighofer <lukas@schwaighofer.name>2017-03-12 15:49:46 -0700
committerLukas Schwaighofer <lukas@schwaighofer.name>2017-03-12 15:49:46 -0700
commit4500b7dce281e06f0fd9cefa753bfd4f0fce7d9d (patch)
treeda8fde55f8d1ba65e137ec39decbb032a7e18ad8 /debian/patches/100-gmrunrc.patch
parent47139477f2f9e8aad627f80397cca32d987f9c4c (diff)
parentb8295ff79d975ba7f080ca51bc8679a1fad25b29 (diff)
gmrun (0.9.2-2.2) unstable; urgency=medium
* Non-maintainer upload. [ Andreas Henriksson ] * fix return type of gtk_completion_line_get_type (Closes: #857065) [dgit import unpatched gmrun 0.9.2-2.2]
Diffstat (limited to 'debian/patches/100-gmrunrc.patch')
-rw-r--r--debian/patches/100-gmrunrc.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/100-gmrunrc.patch b/debian/patches/100-gmrunrc.patch
new file mode 100644
index 0000000..3614f42
--- /dev/null
+++ b/debian/patches/100-gmrunrc.patch
@@ -0,0 +1,25 @@
+# Description: Use x-terminal-emulator and x-www-browser
+# Author: Vincent Legout <vincent@legout.info>
+
+Index: gmrun-0.9.2/config/gmrunrc
+===================================================================
+--- gmrun-0.9.2.orig/config/gmrunrc 2010-02-04 22:00:30.944468499 +0800
++++ gmrun-0.9.2/config/gmrunrc 2010-02-04 22:01:31.508469387 +0800
+@@ -3,7 +3,7 @@
+ # GPL v2.0 applies
+
+ # Set terminal
+-Terminal = gnome-terminal --start-factory-server --use-factory
++Terminal = x-terminal-emulator
+ TermExec = ${Terminal} -e
+ AlwaysInTerm = ssh telnet ftp lynx mc vi vim pine centericq perldoc man
+
+@@ -30,7 +30,7 @@
+ # - %u gets replaced with the whole URL ("http://www.google.com")
+ # - %s gets replaced with "//www.google.com". This is useful for URL-s
+ # like "man:printf" --> %s will get replaced with "printf"
+-URL_http = mozilla -remote "openURL(%u, new-window)"
++URL_http = x-www-browser '%u'
+ URL_mailto = mozilla -remote "mailto(%s)"
+ URL_man = ${TermExec} 'man %s'
+ URL_info = ${TermExec} 'info %s'