3 ms·
since I use i3 I never bothered to learn tmux. If you use i3 is there any reason to ever use tmux on your local machine?
by endisneigh 6y ago
since I use i3 I never bothered to learn tmux. If you use i3 is there any reason to ever use tmux on your local machine?
- Seirdy 6y agoI use Sway and Tmux. Scrollback, selection, search, and buffer piping are 10x more powerful than any terminal emulator's builtin selection/search/URL-detection that I've tried. With one keybind, I can interactively select Web URLs with the keyboard; with another, I can fuzzy-search both Web and non-Web URIs (including mailtos, gemini://, etc) with FZF. I can use a non-URL regex as well if I want. I can also detach/reattach sessions, which is useful both with and without ssh. You get all these features in any terminal emulator you use, including the virtual console (which doesn't normally even have scrollback). If you build Tmux as a static binary, your favorite terminal emulator is just an rsync command away on any machine you use (assuming you're allowed to chmod +x a file).
- fpoling 6y agoWell, you can also then statically compile a VNC server and tiling WM and get the whole remote desktop. And this is typically what I use on remote systems or even in local containers or VM for development unless the system is really constrained. Mouse and copy-paste integration with the local desktop then typically works out-of-the box.
- monoideism 6y agoNo. Whenever I use a tiling wm, I don't use tmux. Otherwise, I do.
- Bayart 6y agoAs another user hinted, the difference is mainly about what's your top layer. If it is X11 or Wayland as you would on your desktop/laptop computer, than your tilling wm is the better place for that. If your top layer is a console session, as you would on a remote machine or a local VM, then Tmux is a godsend.
- hansvm 6y agoI'll sometimes use tmux as the backend for something like byobu (detaching and attaching to sessions mostly), but that's not really applicable to most local machine workflows.