General Computing
gnu-screen byobu
Updated Mon, 15 Aug 2022 07:15:12 GMT

Nesting byobu sessions


Is there a working solution for having a nested byobu, or byobu-screen sessions?

It would need to have a way to specify different keybindings for the outer and the inner windows.




Solution

You can easily nest Byobu sessions. The F-key short cuts will only work in the outer most Byobu, though. To pass control commands to the inner, nested sessions, you simply need to hit the control sequence multiple times. So you'll need to learn the Tmux commands.

For instance, to move to the next window in the inner session, do:

Ctrl-a-a-n

You can find more information at: https://askubuntu.com/questions/271837/how-to-use-byobu-keybindings-in-a-nested-remote-session

Full disclosure: I'm the author and maintainer of Byobu.