Tmux Status Bar default window names Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Come Celebrate our 10 Year Anniversary!GNU Screen and Tmux: tips and trickstmux bash konsole change titleRun command in detached tmux sessionTmux send-keys stripping spacetmux won't run as non root user?tmux attach to existing sessions or create new onesTmux new-session returns: “can't create socket”Linux “tmux” Permission deninedWhy does tmux bind externally accessible ports?Send command to new tmux pane?
What if Force was not Mass times Acceleration?
Additive group of local rings
What is "leading note" and what does it mean to "raise a note"?
Could moose/elk survive in the Amazon forest?
Is there any hidden 'W' sound after 'comment' in : Comment est-elle?
Retract an already submitted recommendation letter (written for an undergrad student)
How to find the right literary agent in the USA?
What is ls Largest Number Formed by only moving two sticks in 508?
Align column where each cell has two decimals with siunitx
I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?
Map material from china not allowed to leave the country
What was Apollo 13's "Little Jolt" after MECO?
Did the Roman Empire have penal colonies?
Is accepting an invalid credit card number a security issue?
A strange hotel
Are all CP/M-80 implementations binary compatible?
How to count in linear time worst-case?
How long after the last departure shall the airport stay open for an emergency return?
What is it called when you ride around on your front wheel?
Seek and ye shall find
Why does the Cisco show run command not show the full version, while the show version command does?
My bank got bought out, am I now going to have to start filing tax returns in a different state?
Identify story/novel: Tribe on colonized planet, not aware of this. "Taboo," altitude sickness, robot guardian (60s? Young Adult?)
std::is_constructible on incomplete types
Tmux Status Bar default window names
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
Come Celebrate our 10 Year Anniversary!GNU Screen and Tmux: tips and trickstmux bash konsole change titleRun command in detached tmux sessionTmux send-keys stripping spacetmux won't run as non root user?tmux attach to existing sessions or create new onesTmux new-session returns: “can't create socket”Linux “tmux” Permission deninedWhy does tmux bind externally accessible ports?Send command to new tmux pane?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
On one of my clients' servers, I've been using the tmux
status bar to monitor long-running processes, both through the automatic window-name changes and by setting window names through ANSI control codes in scripts. It's incredibly useful when you have to run a dozen processes at a time and see which ones are finished.
They recently moved the server to a new provider (Amazon AWS, I believe), and suddenly tmux
is crippled. There's no automatic name-changes on the tmux
status bar, and it won't respond to the scripts' name-changes (it does respond to some script changes, I'll have to work out why it isn't doing all of them).
I've tried various configuration changes, but nothing seems to make a difference -- the "name" is always X:login@hostname:workingdir
(where X is the window index).
Am I doing something wrong, or is it a limitation of the server? In either case, is there some way to fix it?
Here's my current .tmux.conf
file:
set -g xterm-keys on
#bind-key C-b last-window
set -sg escape-time 20
setw -g mode-keys vi
# Reload the config file on demand.
bind r source-file ~/.tmux.conf
set -g set-titles on
setw -g allow-rename on
#setw -g monitor-activity on
setw -g automatic-rename on
setw -g window-status-current-format "#I:#W#F"
setw -g window-status-format "#I:#W#F"
Old system: CentOS 6.10
Old tmux
version: 1.6
New system: CentOS 7
New tmux
version: 1.8
tmux
add a comment |
On one of my clients' servers, I've been using the tmux
status bar to monitor long-running processes, both through the automatic window-name changes and by setting window names through ANSI control codes in scripts. It's incredibly useful when you have to run a dozen processes at a time and see which ones are finished.
They recently moved the server to a new provider (Amazon AWS, I believe), and suddenly tmux
is crippled. There's no automatic name-changes on the tmux
status bar, and it won't respond to the scripts' name-changes (it does respond to some script changes, I'll have to work out why it isn't doing all of them).
I've tried various configuration changes, but nothing seems to make a difference -- the "name" is always X:login@hostname:workingdir
(where X is the window index).
Am I doing something wrong, or is it a limitation of the server? In either case, is there some way to fix it?
Here's my current .tmux.conf
file:
set -g xterm-keys on
#bind-key C-b last-window
set -sg escape-time 20
setw -g mode-keys vi
# Reload the config file on demand.
bind r source-file ~/.tmux.conf
set -g set-titles on
setw -g allow-rename on
#setw -g monitor-activity on
setw -g automatic-rename on
setw -g window-status-current-format "#I:#W#F"
setw -g window-status-format "#I:#W#F"
Old system: CentOS 6.10
Old tmux
version: 1.6
New system: CentOS 7
New tmux
version: 1.8
tmux
What OS are you running in AWS? Ubuntu? AWS Linux? What version of tmux are you running? What version did you used to run? It sounds to me like you're using an older version of tmux which maybe doesn't support renaming windows? But I'm guessing.
– Rumbles
Apr 16 at 15:46
@Rumbles: added that info. Both the OS andtmux
are newer.
– Head Geek
Apr 16 at 16:12
add a comment |
On one of my clients' servers, I've been using the tmux
status bar to monitor long-running processes, both through the automatic window-name changes and by setting window names through ANSI control codes in scripts. It's incredibly useful when you have to run a dozen processes at a time and see which ones are finished.
They recently moved the server to a new provider (Amazon AWS, I believe), and suddenly tmux
is crippled. There's no automatic name-changes on the tmux
status bar, and it won't respond to the scripts' name-changes (it does respond to some script changes, I'll have to work out why it isn't doing all of them).
I've tried various configuration changes, but nothing seems to make a difference -- the "name" is always X:login@hostname:workingdir
(where X is the window index).
Am I doing something wrong, or is it a limitation of the server? In either case, is there some way to fix it?
Here's my current .tmux.conf
file:
set -g xterm-keys on
#bind-key C-b last-window
set -sg escape-time 20
setw -g mode-keys vi
# Reload the config file on demand.
bind r source-file ~/.tmux.conf
set -g set-titles on
setw -g allow-rename on
#setw -g monitor-activity on
setw -g automatic-rename on
setw -g window-status-current-format "#I:#W#F"
setw -g window-status-format "#I:#W#F"
Old system: CentOS 6.10
Old tmux
version: 1.6
New system: CentOS 7
New tmux
version: 1.8
tmux
On one of my clients' servers, I've been using the tmux
status bar to monitor long-running processes, both through the automatic window-name changes and by setting window names through ANSI control codes in scripts. It's incredibly useful when you have to run a dozen processes at a time and see which ones are finished.
They recently moved the server to a new provider (Amazon AWS, I believe), and suddenly tmux
is crippled. There's no automatic name-changes on the tmux
status bar, and it won't respond to the scripts' name-changes (it does respond to some script changes, I'll have to work out why it isn't doing all of them).
I've tried various configuration changes, but nothing seems to make a difference -- the "name" is always X:login@hostname:workingdir
(where X is the window index).
Am I doing something wrong, or is it a limitation of the server? In either case, is there some way to fix it?
Here's my current .tmux.conf
file:
set -g xterm-keys on
#bind-key C-b last-window
set -sg escape-time 20
setw -g mode-keys vi
# Reload the config file on demand.
bind r source-file ~/.tmux.conf
set -g set-titles on
setw -g allow-rename on
#setw -g monitor-activity on
setw -g automatic-rename on
setw -g window-status-current-format "#I:#W#F"
setw -g window-status-format "#I:#W#F"
Old system: CentOS 6.10
Old tmux
version: 1.6
New system: CentOS 7
New tmux
version: 1.8
tmux
tmux
edited Apr 17 at 22:01
Head Geek
asked Apr 16 at 14:30
Head GeekHead Geek
1115
1115
What OS are you running in AWS? Ubuntu? AWS Linux? What version of tmux are you running? What version did you used to run? It sounds to me like you're using an older version of tmux which maybe doesn't support renaming windows? But I'm guessing.
– Rumbles
Apr 16 at 15:46
@Rumbles: added that info. Both the OS andtmux
are newer.
– Head Geek
Apr 16 at 16:12
add a comment |
What OS are you running in AWS? Ubuntu? AWS Linux? What version of tmux are you running? What version did you used to run? It sounds to me like you're using an older version of tmux which maybe doesn't support renaming windows? But I'm guessing.
– Rumbles
Apr 16 at 15:46
@Rumbles: added that info. Both the OS andtmux
are newer.
– Head Geek
Apr 16 at 16:12
What OS are you running in AWS? Ubuntu? AWS Linux? What version of tmux are you running? What version did you used to run? It sounds to me like you're using an older version of tmux which maybe doesn't support renaming windows? But I'm guessing.
– Rumbles
Apr 16 at 15:46
What OS are you running in AWS? Ubuntu? AWS Linux? What version of tmux are you running? What version did you used to run? It sounds to me like you're using an older version of tmux which maybe doesn't support renaming windows? But I'm guessing.
– Rumbles
Apr 16 at 15:46
@Rumbles: added that info. Both the OS and
tmux
are newer.– Head Geek
Apr 16 at 16:12
@Rumbles: added that info. Both the OS and
tmux
are newer.– Head Geek
Apr 16 at 16:12
add a comment |
1 Answer
1
active
oldest
votes
It turned out to be the value of PROMPT_COMMAND
, set in /etc/bashrc
on the new server, overwriting anything I put as the window title every time the prompt was shown. :-(
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963318%2ftmux-status-bar-default-window-names%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It turned out to be the value of PROMPT_COMMAND
, set in /etc/bashrc
on the new server, overwriting anything I put as the window title every time the prompt was shown. :-(
add a comment |
It turned out to be the value of PROMPT_COMMAND
, set in /etc/bashrc
on the new server, overwriting anything I put as the window title every time the prompt was shown. :-(
add a comment |
It turned out to be the value of PROMPT_COMMAND
, set in /etc/bashrc
on the new server, overwriting anything I put as the window title every time the prompt was shown. :-(
It turned out to be the value of PROMPT_COMMAND
, set in /etc/bashrc
on the new server, overwriting anything I put as the window title every time the prompt was shown. :-(
answered Apr 17 at 15:23
Head GeekHead Geek
1115
1115
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963318%2ftmux-status-bar-default-window-names%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What OS are you running in AWS? Ubuntu? AWS Linux? What version of tmux are you running? What version did you used to run? It sounds to me like you're using an older version of tmux which maybe doesn't support renaming windows? But I'm guessing.
– Rumbles
Apr 16 at 15:46
@Rumbles: added that info. Both the OS and
tmux
are newer.– Head Geek
Apr 16 at 16:12