2014-10-06 34 views
1

突然間,我的tmux停止,以更改rxvt-unicode的終端窗口標題。我記得上週做的唯一重大改變是更新bashtmux set-titles停止了對rxvt-unicode的連接

It'still與xterm,所以它可能是嚴格的rxvt

這裏是我的最新版本:

Desired=Unknown/Install/Remove/Purge/Hold 
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend 
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) 
||/ Name    Version  Architecture Description 
+++-==================-==============-==============-========================================== 
ii bash    4.3-7ubuntu1.1 amd64   GNU Bourne Again SHell 
ii rxvt-unicode  9.19-1   amd64   RXVT-like terminal emulator with Unicode s 
ii tmux    1.8-5   amd64   terminal multiplexer 

在這裏,我的conf文件片段:

.bashrc

# Start tmux at login 
# If not running interactively, do not do anything 
[[ $- != *i* ]] && return 
[[ -z "$TMUX" ]] && exec tmux 

.Xdefaults

URxvt.background:  #1E2B20 
URxvt.foreground:  wheat 
URxvt.fading:   25 
URxvt.scrollBar:  0 
!URxvt.font:    -*-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-*-* 
!URxvt.font:    xft:Inconsolata:pixelsize=15 
URxvt.font:    xft:Ubuntu Mono:pixelsize=15 
URxvt.color10:   #66ff66 
URxvt.color12:   #6666ff 
URxvt.borderLess:  0 
URxvt.termName:   rxvt 
URxvt.urlLauncher:  google-chrome 
URxvt.loginShell:  1 

! Font resize extension 
URxvt.perl-ext-common: ...,font-size 
URxvt.keysym.C-S-Up: perl:font-size:increase 
URxvt.keysym.C-S-Down: perl:font-size:decrease 

.tmux.conf

# turn on window titles 
set -g set-titles on 

# set wm window title string 
set -g set-titles-string '#W' 

# automatically set window title 
setw -g automatic-rename on 

我該如何再次使用它?我忘記了什麼嗎?

回答

1

$TERM設置爲rxvt,在.Xdefaults。將其設置爲rxvt-unicode即可解決問題。

.Xdefaults

URxvt.termName:   rxvt-unicode