Disable resize feature

12 views
Skip to first unread message

Marcus Schmitt

unread,
Jul 6, 2020, 11:24:21 AM7/6/20
to tmux-...@googlegroups.com
Hi,

we want to use one tmux 2.3 (Ubuntu/Debian) for multiple (different) users. I started the tmux session as root with the command:

tmux -S /tmp/session1 new -s session1 -d 'command'

Afterward I changed the rights for this file in /tmp/. All users join the session with:

tmux -S /tmp/session1 attach -t session1 -r

So far so good. The problem is that if one user changes the window size of this window the size for all other users are also changes. I tried to use the "setw -f aggressive resize" option with on and off for root and for all users in order to change the behaviour but the problem is the same.

How can I completely stop the resize feature ?

BR netmage

Nicholas Marriott

unread,
Jul 6, 2020, 11:36:54 AM7/6/20
to Marcus Schmitt, tmux-...@googlegroups.com

Hi

 

You can install tmux 3.1 and set window-size to largest, then the window will be the size of the largest attached client not the smallest.

--
You received this message because you are subscribed to the Google Groups "tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/CAAMQnQKCm8jUyUvZwQgb%2BvPw4rCHJWWjT60vxPWx8LsyhgM9dg%40mail.gmail.com.

Marcus Schmitt

unread,
Jul 14, 2020, 2:45:52 AM7/14/20
to Nicholas Marriott, tmux-...@googlegroups.com
Hello Nicholas,

Thank you very much for your help. We currently use debian 10.4 with tmux 2.8.

Unfortunately I don't have any experience with compiling tools by myself.
Furthermore I would like to avoid messing around with the gcc leftover file on our new installed system.

Do you have a hint on what would be the best way to get tmux 3.1 running on our system ?

BR netmage

Nicholas Marriott

unread,
Jul 14, 2020, 3:17:21 AM7/14/20
to Marcus Schmitt, tmux-users
Hi

There are AppImage builds here you could try:


Failing that you will need to build it from source or wait until there is a package for Debian.

You could do a build (maybe a static build) on another system and copy the binary if you don't want to have compiler tools on your target host. tmux is very easy to build.
Reply all
Reply to author
Forward
0 new messages