summaryrefslogtreecommitdiffstats
path: root/desktop/gmrun/patches/100-gmrunrc.patch
diff options
context:
space:
mode:
author Edinaldo P.Silva2017-03-10 10:49:47 +0100
committer David Spencer2017-03-10 10:50:48 +0100
commite3a478c576dff0958d1176710851195e44fe81c2 (patch)
tree8c1f6fe879d9d21307457f6cc59becb600c0edf4 /desktop/gmrun/patches/100-gmrunrc.patch
parentfac6fa454693c332345f5970801f5b1f704247cb (diff)
downloadslackbuilds-e3a478c576dff0958d1176710851195e44fe81c2.tar.gz
desktop/gmrun: New maintainer + add manpage & patches.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/gmrun/patches/100-gmrunrc.patch')
-rw-r--r--desktop/gmrun/patches/100-gmrunrc.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/desktop/gmrun/patches/100-gmrunrc.patch b/desktop/gmrun/patches/100-gmrunrc.patch
new file mode 100644
index 0000000000..3614f42e8d
--- /dev/null
+++ b/desktop/gmrun/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'