Sign up ×
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 am using screen to split my terminals but I would like to be able to resize the horizontal dimension of the split screens.

If I do C-a :resize 10 I only change the vertical dimension to 10 lines. How do I achieve the same but for the horizontal dimension?

share|improve this question

1 Answer 1

up vote 8 down vote accepted

At least on Debian and Ubuntu, the resize command, when applied to a full height region performs a horizontal resizing.

If it works for you, then first split vertically, next perform a resizing of the width, then split horizontally.

share|improve this answer
It doesn't seem to work – pedrosaurio Jan 26 '12 at 16:00
@pedrosaurio: I reformulated the answer. – enzotib Jan 26 '12 at 16:26
I tried C-a :resize -h 10 and it worked. Before you recommended C-a :resize -v 10 .... I guess your suggestion was right since the beginning but we both got confused with h's and v's. Thanks! – pedrosaurio Jan 27 '12 at 10:19
resize applies to the current region, please try to post screen shot, and show which region you cannot resize. Also a note from GNU Screen web page on the resize command under Bugs, "many of the resize commands will not work reliably with a complicated screen layout" – bdowning Jan 27 '12 at 15:19
Resize by percent: :resize 50% – befzz Aug 25 at 18:39

Your Answer


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.