Ubuntu – byobu scrolling and text selection

byobumousemouse scrolltmux

I want byobu running in gnome-terminal to:

  1. Interpret mouse wheel scrolling as scrolling up in the current byobu window.
  2. Allow me to select text with my mouse (eg, to copy it to the clipboard).

Is this possible? Alt+F12 will enable #1, but prevent me from selecting text. Otherwise, selecting works fine, but scrolling scrolls through gnome-terminal, and not the current byobu window.

Best Answer

You're right about Alt-F12, for toggling mouse mode on and off.

As for scrolling in the Byobu, you'd need to enter scrollback mode, using F7.