Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm accessing a linux box with Byobu enabled (with tmux) and I don't seem to be able to use some F-Keys without being binded to Byobu. For example using F6 to sort on htop. I followed this advice, but it doesn't seem to work for me. I press Shift-F2 and then F6 but nothing happens. If it helps, I'm connecting through PuTTY.

share|improve this question
    
I have been thinking about this for a few days. Do you REALLY have to use byobu? It is just a convenience wrapper for tmux. If you are familiar enough with tmux you shouldn't need to use byobu, and that will get you at least halfway through your issues. –  vgoff Nov 19 '12 at 7:33
    
Well, I'm not sure I need to use byobu, but I like to :), mainly because my use is very simple (open/close new windows, cycle through them and use the scroll feature) and also because the status bar is very informative. I guess I could use tmux for most of it, but what about the status bar? –  pedropais Nov 19 '12 at 11:29
    
I suppose that would be a different question? –  vgoff Nov 19 '12 at 19:09
    
Can it be that you misread the linked page on askubuntu? You write you tried Shift-F2, but it should have been (and works for me) Shift-F12. –  quazgar Dec 10 '13 at 15:03

2 Answers 2

I needed to do the same thing, found the key documented as Dustin Kirkland had stated, but for me, ctrlb shift-F12. Of course, if you have remapped your bind-key to ctrla then adjust accordingly. The bind-key is not necessary for this to work.

It is a toggle, so you only need to toggle it once with the shift-F12 and then if you need the Byobu function keys back, just press the combination again.

This is only persistent for the life of the session though. I have had to remember to press it again, so it may end up in my 'rc' file.

share|improve this answer
    
This works for me on Ubuntu 12.04.2 when using PuTTY. One very important prerequisite, however, is to make sure you're using the XTerm R6 function key sequences rather than the default Esc[n~ (configure in the Terminal->Keyboard menu). Also, I haven't figured out if there's a way to change it back to the default behavior. –  telotortium Feb 7 '13 at 5:22

You can toggle Byobu's use of the F-keys on and off by pressing:

ctrla-!

share|improve this answer

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.