35

On the byobu Wikipedia page there is a screenshot with the terminal screen:

Link to terminal screen using byobu

  1. Can somebody explain to me what programs are used here?
    My guess - at the bottom - vim, top right - terminal, top left - I don't know.

  2. And how to make such a byobu screen?

  • 1
    top left program is htop, a persistent version of top. It lists running processes and hardware load, and allows you to search processes, send them signals, ... – Aserre Jul 8 '14 at 9:38
  • 3
    @Ploutox: top is also persistent :S – souser12345 Jul 8 '14 at 16:06
20

1 . Can somebody explain to me what programs are used here?

  • Program top left is the command htop (is similar to command top)
  • Program top right is indeed a terminal and the bottom one is indeed vim

2 . And how to make such a byobu screen?

  • Horizontal split: Ctrl+A S
  • Vertical split: Ctrl+A | (there is a vertical screen patch that switches the shortcut to Ctrl+A V)
  • To move the focus to the next split: Ctrl+A Tab

Some more shortcuts.

  • 12
    The shortcuts have changed since. See help.ubuntu.com/community/Byobu Shift+F2 and Ctrl+F2 split the screen horizontally and vertically respectively. Moving focus is done with Shift+Arrow Key (left, right, up, down) depending on the focus switch you want to do. – BlueCacti Aug 31 '15 at 16:19
  • 8
    This is what works for me: Ctrl + A % to split horizontally and Ctrl + A | to split vertically. – Hoang Huynh Dec 23 '15 at 8:49
  • Doesn't work with Emacs bindings. ;) – A.B. Jan 7 '16 at 8:53
  • @A.B. Think of these commands as [prefix] + [command]. On my system, the default prefix for Emacs-compatibility is C-S. So, in my case, I press C-S % to split horizontally. (See comment by Hoang Huynh above.) – David J. Sep 21 '16 at 19:26
  • @HoangHuynh Strange, in my case your shortcuts work, but do the exact opposite. – hbogert Jul 26 '17 at 20:36
50

The controls have changed since the accepted answer was posted. From Byobu's help page:

  • Split screen horizontally:

    • Shift+F2 or
    • Ctrl+A then |
  • Split screen vertically:

    • Ctrl+F2 or
    • Ctrl+A then %
  • Switch focus:

    • Shift+↑ ↓ ← → or
    • Ctrl+A then ↑ ↓ ← →
  • 1
    And how do we close one or more splits? – Tarik Aug 22 '17 at 21:18
  • 2
    @Tarik type exit in split, which you want to close. – AndriusZ Oct 4 '17 at 7:21
  • That's if you want to exit the terminal. If you want to stop splitting, then in the screen version Ctrl-A followed by Q will "maximize" the current window – David Fraser Nov 16 '17 at 15:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.