Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've seen elsewhere that scrolling via the mouse wheel (and other mousy events) can be enabled for tmux.. can this feature also be enabled in byobu (over tmux) and how?

share|improve this question

2 Answers 2

up vote 8 down vote accepted

Yes, this is possible. You just have to enter scrollback mode first.

Simply press F7, and then use your mouse scroll wheel. Finally, press ESC to exit scrollback mode.

It appears that some terminals won't allow you to scroll using your mouse still. For Gnome Terminal, untick the Scroll on keystroke option in the profile preferences (tab Scrolling).

share|improve this answer
1  
Hmm, that doesn't seem to work for me. Instead I get the whole terminal scrolling, making the byobu session disappear off the screen? Am I missing some additional setting somewhere? (Using gnome-terminal to ssh into server where byobu session is running) –  Ashimema Oct 17 '12 at 9:16
1  
What if you press alt-pageup, and then try using the scroll wheel...does that work? –  Dustin Kirkland Oct 22 '12 at 14:38
1  
Confirmed working with Konsole. Confirmed ineffective in Gnome Terminal by default - had to untick Scroll on keystroke option in profile preferences. –  gertvdijk Jan 5 '13 at 21:21
    
@DustinKirkland sorry to revive this old thread, but I am still not able to scroll with the mouse.. I have disabled Scroll on Keystroke, and pressing alt-pageup is not doing anything.. I am testing this on mints Mate terminal (which should be reasonably similar to gnome terminal from GTK2) –  Karthik T Aug 3 '13 at 3:16
    
@DustinKirkland also I notice that I need to press Enter to exit the mode, not Esc as you indicate. Has this changed recently perhaps? –  Karthik T Aug 3 '13 at 3:17

If you still have this problem,

Try ALT + F12

In my case, this enables mouse scrolling on byobu

share|improve this answer
    
It can help the poster if you indicate where you found this shortcut –  Charles Green Jun 30 at 5:48
    
There's Help menu in configuration. You can find it by running byobu-config on the terminal or simply press Shift+F1 –  RNA Jul 1 at 1:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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