How do I use my WM's multiplexing instead of tmux's?

38 views
Skip to first unread message

shaurya gupta

unread,
Aug 24, 2020, 8:28:37 PM8/24/20
to tmux-users
As a tiling WM user, it does not make sense to me to have another layer of multiplexing and and I have to keep switching between tmux's bindings and my WM's. 
Instead of running every terminal in tmux's virtual terminal emulator, I want to run each of them in a new terminal emulator window.  

Is it possible to do something like this with tmux? If not, then is this something that can be added to tmux?  

Scott Rochford

unread,
Aug 24, 2020, 9:46:44 PM8/24/20
to shaurya gupta, tmux-users
Why are you running tmux at all then?  

Regards,

Scott

--
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/d5a3d3fe-6acf-4850-a662-07ae2e6df25bn%40googlegroups.com.

shaurya gupta

unread,
Aug 24, 2020, 10:29:15 PM8/24/20
to tmux-users
@Scott, I'm using tmux for it's session management and attach/detach features.

Nicholas Marriott

unread,
Aug 25, 2020, 1:05:58 AM8/25/20
to shaurya gupta, tmux-users
Yes just make a new tmux window or session in each WM terminal window.



--

shaurya gupta

unread,
Aug 25, 2020, 1:19:50 AM8/25/20
to tmux-users
But then they would not be in the same session. I want to open all terminals in the same session in different WM terminal windows.

Nicholas Marriott

unread,
Aug 25, 2020, 1:20:51 AM8/25/20
to shaurya gupta, tmux-users
Why would they not be in the same session?



shaurya gupta

unread,
Aug 25, 2020, 1:46:07 AM8/25/20
to tmux-users
Aah right, I can have them in the same session.

1. Is there anyway that I can do "tmux attach -t 0" and also create a new tmux terminal window? 
2. Is there anyway to detach all terminals in the same session?


Nicholas Marriott

unread,
Aug 25, 2020, 1:49:37 AM8/25/20
to shaurya gupta, tmux-users
Use new-window instead of attach.

You can use detach-client to detach a session IIRC.


shaurya gupta

unread,
Aug 25, 2020, 2:37:22 AM8/25/20
to tmux-users
Aaha, okay I looked more into it and was able to get both of those done. One final question - it seems that all clients attached to the same session will see the same window. But what I want to be able to do is change the current window in the client-1 without affecting client-2 (these are both connected to the same session). Is that possible?

Nicholas Marriott

unread,
Aug 25, 2020, 3:41:42 AM8/25/20
to shaurya gupta, tmux-users
Use session groups.

Reply all
Reply to author
Forward
0 new messages