You are not logged in.
Pages: 1
I use xbindkeys to start up a new urxvtc running tmux:
.xbindkeysrc
...
"urxvtc -e tmux"
Mod4 + Return
This set up has always worked well, until yesterday when it stopped doing so. Starting urxvtc with dmenu works fine, and the problem is revealed to be that $TMUX is set already, so when I try to start a new tmux session with Mod4+Return, it errors out with the standard complaint about nesting sessions and closes automatically. When I unset $TMUX, it starts without complaint, but a new urxvtc always has $TMUX set by default, to the same value as before. echoing $TMUX from inside a tmux session gives a different value from this automatic one.
Outside of tmux (this is the one that doesn't change):
[komon@KOMON-HP ~]$ echo $TMUX
/tmp/tmux-1000/default,771,0
Inside of tmux:
[komon@KOMON-HP ~]$ echo $TMUX
/tmp/tmux-1000/default,8358,0
So I did all the cleaning I could think of, pkilled tmux and urxvtd, rm -r'd /tmp/tmux-1000 and .urxvt, checked all my dotfiles for something that would be setting $TMUX, and nothing. The problem persists. The problem is persisting, variables that is.
Any help would be appreciated.
Offline
Check all processes' environments to see where it's coming from:
fgrep 'TMUX' /proc/[0-9]*/environ 2>/dev/null
Offline
Pages: 1