1 ## Description: Use Debian-specific x-terminal-emulator in i3-sensible-terminal
2 ## Origin/Author: Michael Stapelberg
3 --- a/i3-sensible-terminal.O 2011-11-11 22:03:52.414218386 +0000
4 +++ b/i3-sensible-terminal 2011-11-11 22:04:38.372020210 +0000
7 # This script tries to exec a terminal emulator by trying some known terminal
10 -# Distributions/packagers should enhance this script with a
11 -# distribution-specific mechanism to find the preferred terminal emulator. On
12 -# Debian, there is the x-terminal-emulator symlink for example.
13 -# Please don't touch the first line, though:
14 which $TERMINAL >/dev/null && exec $TERMINAL "$@"
16 +# Debian-specific: use x-terminal-emulator
17 +which x-terminal-emulator >/dev/null && exec x-terminal-emulator "$@"
19 # Hopefully one of these is installed:
20 which xterm >/dev/null && exec xterm "$@"
21 which urxvt >/dev/null && exec urxvt "$@"