Add one more sensible terminal: x-terminal-emulator, it is provided by default on all debian-like systems.
Patch status: superseded
Patch by Han Boetes
To apply this patch, use:
curl http://cr.i3wm.org/patch/662/raw.patch | git am
b/i3-sensible-terminal
| 14 |
@@ -8,7 +8,7 @@ |
| 15 |
# Distributions/packagers should enhance this script with a |
| 16 |
# distribution-specific mechanism to find the preferred terminal emulator. On |
| 17 |
# Debian, there is the x-terminal-emulator symlink for example. |
| 18 |
-for terminal in $TERMINAL urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal; do |
| 19 |
+for terminal in $TERMINAL x-terminal-emulator urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal; do |
| 20 |
if command -v $terminal > /dev/null 2>&1; then |
| 21 |
exec $terminal "$@" |
| 22 |
fi |