merge the formerly debian-specific x-terminal-emulator patch
I think instead of maintaining distribution-specific patches forever, it’s a bit easier to have them applied upstream, especially since they don’t break anything. fixes #876
This commit is contained in:
parent
7b00114f7e
commit
0125530409
|
@ -1,20 +0,0 @@
|
|||
Description: list x-terminal-emulator as one of i3-sensible-terminal’s choices
|
||||
Author: Michael Stapelberg <stapelberg@debian.org>
|
||||
Origin: vendor
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2011-12-28
|
||||
|
||||
---
|
||||
|
||||
Index: i3-4.1.1/man/i3-sensible-terminal.man
|
||||
===================================================================
|
||||
--- i3-4.1.1.orig/man/i3-sensible-terminal.man 2011-12-28 23:56:55.487581000 +0100
|
||||
+++ i3-4.1.1/man/i3-sensible-terminal.man 2011-12-28 23:57:06.725802633 +0100
|
||||
@@ -22,6 +22,7 @@
|
||||
It tries to start one of the following (in that order):
|
||||
|
||||
* $TERMINAL (this is a non-standard variable)
|
||||
+* x-terminal-emulator
|
||||
* urxvt
|
||||
* rxvt
|
||||
* terminator
|
|
@ -1,2 +0,0 @@
|
|||
use-x-terminal-emulator.patch
|
||||
manpage-x-terminal-emulator.patch
|
|
@ -1,25 +0,0 @@
|
|||
Description: i3-sensible-terminal: try x-terminal-emulator first
|
||||
Author: Michael Stapelberg <stapelberg@debian.org>
|
||||
Origin: vendor
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2012-09-19
|
||||
|
||||
---
|
||||
|
||||
Index: i3-4.3/i3-sensible-terminal
|
||||
===================================================================
|
||||
--- i3-4.3.orig/i3-sensible-terminal 2012-09-19 18:08:09.000000000 +0200
|
||||
+++ i3-4.3/i3-sensible-terminal 2012-09-19 18:32:06.393883488 +0200
|
||||
@@ -4,11 +4,7 @@
|
||||
#
|
||||
# This script tries to exec a terminal emulator by trying some known terminal
|
||||
# emulators.
|
||||
-#
|
||||
-# Distributions/packagers should enhance this script with a
|
||||
-# distribution-specific mechanism to find the preferred terminal emulator. On
|
||||
-# Debian, there is the x-terminal-emulator symlink for example.
|
||||
-for terminal in $TERMINAL urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal; do
|
||||
+for terminal in $TERMINAL x-terminal-emulator urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal; do
|
||||
if which $terminal > /dev/null 2>&1; then
|
||||
exec $terminal "$@"
|
||||
fi
|
|
@ -5,10 +5,10 @@
|
|||
# This script tries to exec a terminal emulator by trying some known terminal
|
||||
# emulators.
|
||||
#
|
||||
# Distributions/packagers should enhance this script with a
|
||||
# distribution-specific mechanism to find the preferred terminal emulator. On
|
||||
# Debian, there is the x-terminal-emulator symlink for example.
|
||||
for terminal in $TERMINAL urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal; do
|
||||
# We welcome patches that add distribution-specific mechanisms to find the
|
||||
# preferred terminal emulator. On Debian, there is the x-terminal-emulator
|
||||
# symlink for example.
|
||||
for terminal in $TERMINAL x-terminal-emulator urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal; do
|
||||
if command -v $terminal > /dev/null 2>&1; then
|
||||
exec $terminal "$@"
|
||||
fi
|
||||
|
|
|
@ -22,6 +22,7 @@ is appropriate for the distribution.
|
|||
It tries to start one of the following (in that order):
|
||||
|
||||
* $TERMINAL (this is a non-standard variable)
|
||||
* x-terminal-emulator (only present on Debian and derivatives)
|
||||
* urxvt
|
||||
* rxvt
|
||||
* terminator
|
||||
|
|
Loading…
Reference in New Issue