i3/debian/patches/use-x-terminal-emulator.patch

18 lines
863 B
Diff
Raw Normal View History

2011-12-28 18:01:49 -05:00
Index: i3-4.1.1/i3-sensible-terminal
===================================================================
--- i3-4.1.1.orig/i3-sensible-terminal 2011-12-28 23:51:52.455610236 +0100
+++ i3-4.1.1/i3-sensible-terminal 2011-12-28 23:52:00.826775027 +0100
@@ -4,11 +4,7 @@
#
2011-11-11 17:17:49 -05:00
# 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.
2011-12-28 18:01:49 -05:00
-for terminal in $TERMINAL urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm; do
+for terminal in $TERMINAL x-terminal-emulator urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm; do
if which $terminal > /dev/null 2>&1; then
exec $terminal "$@"
fi