Tmux window or panel name will not change in GNOME terminal

Using Fedora 25 and the GNOME terminal. I used Tmux for several years on Ubuntu with a long .tmux.conf file .tmux.conf . Recently installed Tmux and Tmuxinator on Fedora.

When I open the terminal. I see the header has the value tom@localhost :~ . When I create a new tmux new -s panes session, for example tmux new -s panes . The title bar is still tom@localhost :~ .

Inside a Tmux session. When I open a new window called console as follows new-window -n console . The title will not change to console and will continue to say tom@localhost :~ .

I thought tmux did not redefine the name, so I added this to the tmux.conf file:

 set-option -g set-titles on set -g terminal-overrides "xterm*:XT: smcup@ : rmcup@ " 

It still does nothing.

Terminal settings. I have Profile/Command/When terminal commands set their own titles set to Replace initial title .

I can’t figure it out. What am I doing wrong here?

+5
source share
1 answer

I'm not quite sure why it works. But that solves my problem.

Inside the .tmux.conf file .tmux.conf I added the line set-option -g allow-rename off . At the top of the file, I had the line set -g default -terminal "xterm" . I deleted this line.

0
source

Source: https://habr.com/ru/post/1269214/


All Articles