Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
29
rated 0 times [  29] [ 0]  / answers: 1 / hits: 12004  / 3 Years ago, sat, may 1, 2021, 12:07:51

Let's say I have a byobu session running with multiple tabs open. Then if I open a new terminal, and start byobu, it will take me into the same session. If I then switch byobu tabs in one terminal, the other terminal will also switch to the same tab.



Is it possible to have different tabs of the same byobu session open in different terminals?


More From » 12.04

 Answers
7

Great question!



This isn't directly possible, due to the way Tmux works, from a client-server perspective.



Nonetheless, there is a viable workaround... Basically, you just need to have separate sessions. Byobu makes this easy and convenient through a couple of keybindings.




  • F2 creates new windows

  • Alt-Left and Alt-Right moves back and forth between them

  • Ctrl-F2 creates a vertical splits

  • Shift-F2 creates horizontal splits

  • Shift-Up, -Down, -Left, -Right, move around the splits

  • Ctrl-Shift-F2 creates a new session

  • Alt-Up and Alt-Down moves between sessions



The latter two should solve your problem!



Full disclosure: Author and maintainer of Byobu here


[#33164] Saturday, May 1, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cklaceowne

Total Points: 228
Total Questions: 102
Total Answers: 111

Location: Ivory Coast
Member since Sun, Mar 7, 2021
3 Years ago
;