Tmux Status Bar default window names Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) 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?
Is there a verb for listening stealthily?
Help Recreating a Table
Meaning of "Not holding on that level of emuna/bitachon"
Unix AIX passing variable and arguments to expect and spawn
Can I take recommendation from someone I met at a conference?
lm and glm function in R
Putting Ant-Man on house arrest
What helicopter has the most rotor blades?
Why do C and C++ allow the expression (int) + 4*5?
Like totally amazing interchangeable sister outfit accessory swapping or whatever
false 'Security alert' from Google - every login generates mails from 'no-reply@accounts.google.com'
Is it OK if I do not take the receipt in Germany?
Can a Wizard take the Magic Initiate feat and select spells from the Wizard list?
How to produce a PS1 prompt in bash or ksh93 similar to tcsh
A journey... into the MIND
Coin Game with infinite paradox
Determine the generator of an ideal of ring of integers
How to break 信じようとしていただけかも知れない into separate parts?
Pointing to problems without suggesting solutions
Will I be more secure with my own router behind my ISP's router?
Is my guitar’s action too high?
Lights are flickering on and off after accidentally bumping into light switch
Why not use the yoke to control yaw, as well as pitch and roll?
Is the Mordenkainen's Sword spell underpowered?
Tmux Status Bar default window names
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
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
New contributor
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
New contributor
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
New contributor
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
New contributor
New contributor
edited Apr 17 at 22:01
Head Geek
New contributor
asked Apr 16 at 14:30
Head GeekHead Geek
1115
1115
New contributor
New contributor
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. :-(
New contributor
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
);
);
Head Geek is a new contributor. Be nice, and check out our Code of Conduct.
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. :-(
New contributor
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. :-(
New contributor
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. :-(
New contributor
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. :-(
New contributor
New contributor
answered Apr 17 at 15:23
Head GeekHead Geek
1115
1115
New contributor
New contributor
add a comment |
add a comment |
Head Geek is a new contributor. Be nice, and check out our Code of Conduct.
Head Geek is a new contributor. Be nice, and check out our Code of Conduct.
Head Geek is a new contributor. Be nice, and check out our Code of Conduct.
Head Geek is a new contributor. Be nice, and check out our Code of Conduct.
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