I recently started using byobu with tmux as a backend. I have learned that AltF12 toggles "mouse mode" off and on. When "mouse mode" is on, I can select text with my mouse and paste it with the middle button as I would normally do. However, I cannot use my wheel to scroll up the pane's buffer.

If I turn the "mouse mode" off, I can scroll up normally with the wheel, but can no longer use the mouse to select. Since I often want to scroll up and copy text, this is a problem. The AltPgUp shortcut which works in regular shells is captured by my terminal emulator instead of byobu so that doesn't help me scroll back either.

The only workaround I've found is to enter scrollback mode with F. This lets me use Up,Down and PgUp,PgDn to scroll and I can indeed use the mouse to select, but I would still rather use the scroll wheel for this instead.

So, how can I use the mouse both to scroll up to see previous lines and for copying them?

1 Answer 1


I have to admit that on my rii mini keyboard the only way to paste from byobu's memory was by holding Ctrl then pressing a and releasing. Afterward immediately hitting ]. This pastes from byobu's clipboard that I enter either through F7 or Alt plus PgUp. Selecting is by hitting Spacebar and moving cursor. Afterwards hitting Enter to copy.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .