3 ms·
Could anybody comment on the practical difference between tmux and using a tiling wm?
by BariumBlue 13y ago
Could anybody comment on the practical difference between tmux and using a tiling wm?
- zhengyi13 13y ago1) Your work will survive the need to restart your WM, or X itself. Pretend for a moment that you run NVidia drivers, which kill X hard, and you're dumped to GDM or similar with no warning. Your state is preserved. 2) Your work/state can be remotely accessed, assuming e.g. you work primarily on a desktop, and you wish to go home, and pick up where you left off, via VPN.
- blueblob 13y agoYou can also use it to run things like a daemon. For instance rtorrent does not have a daemon mode because you can use screen or tmux to "hide" it by running it in tmux and then detaching. You can then re-attach to the processes to interact with them later. You could probably do this with tags in a tiling WM. I like to do this with rtorrent and pianobar (command line www.pandora.com client).
- deckiedan 13y agoI use it all the time when doing stuff on the server(s). Log in with ssh, start tmux, and then do whatever. If the ssh session dies, when I reconnect I can keep going. You can leave tasks going (say a long find command, or sorting out log files, or du or whatever, so that you can come back later and keep going. In terms of use, it's pretty similar to a tiling wm, just in the terminal, that works over ssh as a session, that you can share between people, or screens. So you can open the same set of windows on multiple computers simultaniously. Say have a raspberry pi with an el cheapo monitor up above your desk, monitoring something, then log in with your workstation, do stuff, and leave it going, still being monitored on the pi the whole time. Session sharing with colleagues works well as well.
- tjdetwiler 13y agoThe biggest one for me is SSH access. You can keep your workspace in a tmux session that you can always get to remotely via ssh.
- Shish2k 13y agotmux and i3 seem largely equivalent (working on the basis of arbitrarily nested horizontal splits, vertical splits, and tabs); tmux works on the server side with detach and reattach; i3 supports things other than terminal apps; neither supports using the mouse to drag & drop tiles for rearranging (that being the only thing that makes me not bother using i3 regularly)