I usually split my GNU Screen into four regions, and I don't really need the status bars for each of those windows.

Is there an option to disable GNU Screen window status bars?

I could only find caption always|split only in the manual.

Thanks :)


I think you want

hardstatus ignore

Try putting it in your ~/.screenrc.

This will override any setting that's in /etc/screenrc.

If that doesn't work, try

hardstatus off
  • 2
    mmm... i think hardstatus is a line on the very bottom. and caption bar - is a separate bar for every separate window (so I have 4 of them). – Stann Feb 7 '11 at 6:27
  • Ah, yes, I see what you mean now. Sorry, no easy way to do that as far as I can tell. – Mikel Feb 7 '11 at 6:31

You can't disable it to get back some more screen real estate, but you can change its colour so that it "disappears"...

Add the following to your .screenrc:

caption string "%{kk}XXXXXXX"

So, how does this work? Well assuming your screen terminal background is black, you are making the caption strings background and foreground black as well. "k" stands for black, the first is for the foreground and the second one is for the background. The "XXXXXX"s are simply a string to make it work.

I guess if you have chosen a different background colour for your main terminal, you simply change kk to whatever colour you have chosen. Yes, you get a small gap, but not as in your face as the big bars across the screen.

  • Brilliant! 5 more to go... – user230640 Sep 12 '20 at 5:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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