How to use mouse in Byobu

In Byobu, it can be useful to use the mouse for operations such as selecting a split, resizing a split and for scrolling. However, note that mouse support is turned off by default.

  • To toggle mouse support, press Alt+F12. (If it does not work, check if the keyboard shortcut is set for something else by your window manager.) When mouse support is on, the mouse cursor turns into an arrow. When it is off, the mouse cursor is an I-beam.

  • To select a split window, just click anywhere in it using the mouse.

  • To resize a split window, select the split and then drag its thick orange borders.

  • To scroll the content of a window, select the window and use the mouse scroller to scroll up and down.

  • To enable mouse support by default for all these operations, add these lines to your ~/.byobu/.tmux.conf:

set -g mouse-select-pane on
set -g mouse-select-window on
set -g mouse-resize-pane on
set -g mouse-utf8 on

Restart Byobu to see the effect.

Tried with: Byobu 5.77 and Ubuntu 14.04

One thought on “How to use mouse in Byobu”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s