i3-sensible-terminal; execution result differs from shortcut to terminal
asked 2015-10-10 11:02:41 +0000
This post is a wiki. Anyone with karma >100 is welcome to improve it.
Hello.
in my i3 config, i have the line
bindsym $win+Return exec i3-sensible-terminal
when i execute that shortcut, it executes xfce4-terminal (my former default terminal, which i want no longer to be default)
when i execute i3-sensible-terminal
in my terminal, it launches konsole, which is expected.
the Terminal environment variable seems also properly set.
% env | grep TERMINAL
TERMINAL=konsole
$TERMINAL is set by zshenv:
export TERMINAL=konsole
any ideas?
have you restarted your X session? The environment i3 see when it was launched is different than your current modified environment.
Thanks, i added the export variable to .xsession and now it starts correctly. But, now i have two separate TERMINAL definitions, in .xsession and /etc/zshenv. is there a global file i can use for my environment variables that will recognized by all programs, including i3?