How to make screen bigger in byobu
My new server install looks odd:
is there anyway to resize it to use the whole terminal window?
Solution 1:
This means that there is another ssh or terminal client, other than yourself, connected to this session, which has a smaller window size than yours.
You can detach all clients but yourself, using this Byobu hotkey:
Alt-F6
Or you can run the script /usr/lib/byobu/include/tmux-detach-all-but-current-client
Full disclosure: I am the author and maintainer of Byobu.
Solution 2:
Alt-F6 did not work for me. But I found that I was using tmux. To detach the other window use a combination of list-clients and detach-client:
% tmux list-clients
/dev/pts/1: 0 [64x160 xterm] (utf8)
/dev/pts/39: 0 [39x143 xterm] (utf8)
% tmux detach-client -t /dev/pts/39
Since the 64x160 is larger, I figured that was my window while the other client was the smaller one.
Solution 3:
An alternative to Alt-F6
is Prefix-Shift-D
, where Prefix
is your byobu escape command (typically Ctrl-a
).
See more info here: https://stackoverflow.com/questions/22138211/how-do-i-disconnect-all-other-users-in-tmux.