How to display windows titles at the bottom of the screen using Byobu?
up vote
0
down vote
favorite
I'm using Byobu with zsh. As you can see in the screenshot below, all the windows created have "-" as their title. My colleagues using bash can see the program being run (bash
, python
, vim
, ssh
, etc.). How can I achieve the same?
Thanks in advance!
command-line byobu zsh
add a comment |
up vote
0
down vote
favorite
I'm using Byobu with zsh. As you can see in the screenshot below, all the windows created have "-" as their title. My colleagues using bash can see the program being run (bash
, python
, vim
, ssh
, etc.). How can I achieve the same?
Thanks in advance!
command-line byobu zsh
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm using Byobu with zsh. As you can see in the screenshot below, all the windows created have "-" as their title. My colleagues using bash can see the program being run (bash
, python
, vim
, ssh
, etc.). How can I achieve the same?
Thanks in advance!
command-line byobu zsh
I'm using Byobu with zsh. As you can see in the screenshot below, all the windows created have "-" as their title. My colleagues using bash can see the program being run (bash
, python
, vim
, ssh
, etc.). How can I achieve the same?
Thanks in advance!
command-line byobu zsh
command-line byobu zsh
asked Feb 10 '17 at 2:40
Pierre
77121015
77121015
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
This behaviour appears to be by design when you're using the tmux
back-end for byobu
(default behaviour).
When you run byobu-screen
you will see this functionality out-of-the-box.
If you look in the /usr/share/byobu/keybindings/f-keys.tmux
file, you can see the line that binds the F2 key to open a new window:
bind-key -n F2 new-window -c "#{pane_current_path}" ; rename-window "-"
What do you know? The sneaky little fella renames the window to -
as it's created.
You can override this behaviour by adding a line to your ~/.byobu/.tmux.conf
file:
echo 'bind-key -n F2 new-window -c "#{pane_current_path}"' >> ~/.byobu/.tmux.conf
For some reason, this still doesn't work on the first window.
Thanks! The solution you propose doesn't work on the first window because the first window is not triggered by pressing F2 ;-)
– Pierre
Feb 14 '17 at 6:11
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
This behaviour appears to be by design when you're using the tmux
back-end for byobu
(default behaviour).
When you run byobu-screen
you will see this functionality out-of-the-box.
If you look in the /usr/share/byobu/keybindings/f-keys.tmux
file, you can see the line that binds the F2 key to open a new window:
bind-key -n F2 new-window -c "#{pane_current_path}" ; rename-window "-"
What do you know? The sneaky little fella renames the window to -
as it's created.
You can override this behaviour by adding a line to your ~/.byobu/.tmux.conf
file:
echo 'bind-key -n F2 new-window -c "#{pane_current_path}"' >> ~/.byobu/.tmux.conf
For some reason, this still doesn't work on the first window.
Thanks! The solution you propose doesn't work on the first window because the first window is not triggered by pressing F2 ;-)
– Pierre
Feb 14 '17 at 6:11
add a comment |
up vote
2
down vote
accepted
This behaviour appears to be by design when you're using the tmux
back-end for byobu
(default behaviour).
When you run byobu-screen
you will see this functionality out-of-the-box.
If you look in the /usr/share/byobu/keybindings/f-keys.tmux
file, you can see the line that binds the F2 key to open a new window:
bind-key -n F2 new-window -c "#{pane_current_path}" ; rename-window "-"
What do you know? The sneaky little fella renames the window to -
as it's created.
You can override this behaviour by adding a line to your ~/.byobu/.tmux.conf
file:
echo 'bind-key -n F2 new-window -c "#{pane_current_path}"' >> ~/.byobu/.tmux.conf
For some reason, this still doesn't work on the first window.
Thanks! The solution you propose doesn't work on the first window because the first window is not triggered by pressing F2 ;-)
– Pierre
Feb 14 '17 at 6:11
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
This behaviour appears to be by design when you're using the tmux
back-end for byobu
(default behaviour).
When you run byobu-screen
you will see this functionality out-of-the-box.
If you look in the /usr/share/byobu/keybindings/f-keys.tmux
file, you can see the line that binds the F2 key to open a new window:
bind-key -n F2 new-window -c "#{pane_current_path}" ; rename-window "-"
What do you know? The sneaky little fella renames the window to -
as it's created.
You can override this behaviour by adding a line to your ~/.byobu/.tmux.conf
file:
echo 'bind-key -n F2 new-window -c "#{pane_current_path}"' >> ~/.byobu/.tmux.conf
For some reason, this still doesn't work on the first window.
This behaviour appears to be by design when you're using the tmux
back-end for byobu
(default behaviour).
When you run byobu-screen
you will see this functionality out-of-the-box.
If you look in the /usr/share/byobu/keybindings/f-keys.tmux
file, you can see the line that binds the F2 key to open a new window:
bind-key -n F2 new-window -c "#{pane_current_path}" ; rename-window "-"
What do you know? The sneaky little fella renames the window to -
as it's created.
You can override this behaviour by adding a line to your ~/.byobu/.tmux.conf
file:
echo 'bind-key -n F2 new-window -c "#{pane_current_path}"' >> ~/.byobu/.tmux.conf
For some reason, this still doesn't work on the first window.
answered Feb 10 '17 at 10:20
KingBob
1404
1404
Thanks! The solution you propose doesn't work on the first window because the first window is not triggered by pressing F2 ;-)
– Pierre
Feb 14 '17 at 6:11
add a comment |
Thanks! The solution you propose doesn't work on the first window because the first window is not triggered by pressing F2 ;-)
– Pierre
Feb 14 '17 at 6:11
Thanks! The solution you propose doesn't work on the first window because the first window is not triggered by pressing F2 ;-)
– Pierre
Feb 14 '17 at 6:11
Thanks! The solution you propose doesn't work on the first window because the first window is not triggered by pressing F2 ;-)
– Pierre
Feb 14 '17 at 6:11
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2faskubuntu.com%2fquestions%2f881779%2fhow-to-display-windows-titles-at-the-bottom-of-the-screen-using-byobu%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