What is the difference between Terminator and Tmux ?

by Jitendra Vyas   Last Updated August 14, 2019 03:02 AM

What is the different between Tmux and Terminator? I currently use Terminator which allows me to add more shell in same screen by splitting them horizontally or vertically.

I read about them in some articles but I'm still not able to figure out the main difference.

I want to know what features I'm missing if I don't use Tmux. I'm a front-end developer. I mainly use command line to use git commands only.



Answers 4


Terminator is easy to install and it does exactly what it's supposed to do - it can split terminal windows both horizontally and vertically, according to user's requirements. It also allows to keep multiple tabs opened in case splitting one window is not enough.

Tmux lies somewhere between Terminator and screen, combining ease of use with basing on the plain terminal only.

Here are the advantages of tmux over Terminator:

  • Portability - tmux works on all systems able to handle plain, old terminal.
  • Scriptability - tmux can be scripted, so that setting up windows and panes takes nothing more than one or two keystrokes.
  • Server-client architecture - tmux can be used to share sessions between users.
  • Tweaks and options - both tmux and Terminator are easy to get with, but it's tmux that allows to go further and offers wide range of configuration hacks.1

1Source: Łukasz Wróbel

Mitch
Mitch
June 22, 2014 07:10 AM

Terminator is a terminal emulator. It "emulates" a display terminal inside your X-Windows display system. Terminator specifically is very cool, because it allows you to split windows, configure layouts, assign keybindings, etc...

Tmux is a "multi-plexer". It's slightly different in that it allows you to run a persistent session inside a terminal. So Tmux allows you to do things like open a session at work, shut down your laptop, go home, then reopen your laptop and drop right back into that same running session.

Currently, I'm exploring Terminator, but I use both. For instance, I might have a Tmux session running multiple panes on one server in one Terminator pane. In another Terminator pane, I might have an ssh session running on another server.

ditch182
ditch182
February 18, 2015 22:38 PM

To add up with all the answers said about the question. I have been a user of both Terminator and Tmux, but right this moment I switched to tmux in xterm. My experience has been great over the decision because ;

In tmux i can:

  • Predefine layouts, and with these layouts I can use attach commands which will run in each specified pane and then attach some key bindings to activate some predefined layout.

  • Reassign the default key bindings (as said, it's scriptable) so I can make my vim key bindings and make the experience even better.

  • Some learning experience from zooming, copying to and from the clipboard, to configuring your terminal colors and more.

  • Customizing the look and feel is in your hands. Using scripts and third party scripts you can customize tmux to look like and entreprise IDE ie. (powerline, screen sharing and predefined layouts as said above).

  • Screen Sharing FTW, Say you work with multi workspaces and have multiple terminals open in different workspaces but there is a tmux window in workspace 1 and you need that window to be available everywhere, with tmux link-window you can have that window available in all your workspaces and it's awesome!

Did i also say tmux is a Terminal multiplexer and not a Terminal emulator like Terminator, xterm, termite, urxvt etc? This is important to Note because then you can use different terminal emulators and stil share the same tmux windows in emulators you prefer to use.

The experience is so creative, and you can also check this guy called Gotbletu on YouTube he has lots of tutorials on tmux.

Here is an image of my code layout, which I only have to press (Ctlr + a -- as the modified mod key) and alt + c to get it starting.

tmux screenshot

ArchNoob
ArchNoob
October 11, 2015 14:28 PM

Been a user of both Terminator/Tmux (and screen, however, have given it up now).

I am dependent on Tmux more because I cannot rely on X. Most of the time I SSHing to remote VM and coding/debugging there. These are linux VM instances in multi-user text-mode runlevel thus terminator is out of the question.

Other reasons:

  1. Tmux allows me to connect to a previously detached session.
  2. Sometimes I need to duplicate my session to a remote person sitting in another part of the world. Tmux allows me to duplicate my session (without needing to share my desktop). The remote person simply needs to attach to my tmux session.
  3. Tmux allows vim integration
  4. Tmux is highly scriptable i.e., I can open up my test-setup using a single script and provide windowed access to different virtual machines.

Terminator has a great UI and more user-friendly since it also integrates well with the mouse. But it is fundamentally dependent on X, which is a hurdle for my adoption.

I used screen for a few years but then moved to tmux because of its flexibility and never looked back.

takladev
takladev
August 14, 2019 02:17 AM

Related Questions


Updated January 06, 2018 11:02 AM

Updated June 15, 2015 23:00 PM

Updated March 31, 2017 09:02 AM

Updated July 11, 2017 18:02 PM

Updated September 04, 2017 10:02 AM