You are not logged in.
I just got a new installation of i3 up and running. I also installed rxvt-unicode from pacman and the application urxvt exists in my /usr/bin. According to the docs for i3-sensible-terminal it should default to urxvt. However, my terminal is always xterm, even if it I set $TERMINAL to urxvt in my .bashrc. Not sure what is going here.
Offline
Have you checked that your i3 config file does not have xterm set as default?
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
I changed it to force urxvt which works.
# start a terminal
#bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Return exec urxvt
Offline
The output of 'cat /usr/bin/i3-sensible-terminal' is the following:
#!/bin/sh
# 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.
# Please don't touch the first line, though:
[ -n "$TERMINAL" ] && which $TERMINAL >/dev/null && exec $TERMINAL "$@"
# Hopefully one of these is installed:
which xterm >/dev/null && exec xterm "$@"
which urxvt >/dev/null && exec urxvt "$@"
which rxvt >/dev/null && exec rxvt "$@"
which roxterm >/dev/null && exec roxterm "$@"As you can see, the default is xterm if it is installed. You could define teh $TERMINAL variable. Otherwise the best approach seems to be yours: replace i3-sensible-terminal with urxvt in the config file.
Last edited by patroclo7 (2012-01-16 22:43:15)
Mortuus in anima, curam gero cutis
Offline
I've had the same problem, and used the same workaround. But the problem remains: an environmental variable exported in .bashrc isn't available in the shell in which i3-sensible-terminal gets executed. Anyone know how to fix that?
Offline
I had this problem too, and it was solved by exporting $TERMINAL in ~/.profile.
Offline
Last edited by Montague (2015-07-28 03:02:44)
Offline