Gnome Terminator is a local terminal emulator that allows multiple terminal sub-windows inside a large window. Because with Gnome Terminator, we will be less likely to open a new terminal window, it is likely to increase our working efficiency on Linux.
In this blog post, I am going to introduce how to setup customized default layouts for Gnome Terminators.
We could install Gnome Terminator using one line of command on Ubuntu.
$ sudo apt install terminator
I will use my favorite layouts as an example to show how to set up customized default layouts for Gnome Terminator, so that every time you open Gnome Terminator, the layouts will always be the one you feel the most comfortable with.
My favorite layout is displayed below. I like to have four terminal windows. One of them is running
htop and the other one is running
nvidia-smi dmon. In this way, I could monitor the usage of my CPU, GPU, memory, etc.
One of the benefits of using Gnome Terminator is that you don’t have to memorize and use short-cuts to set up the layout. There are generally two ways to set up the layout, clicking the mouse and using a configuration file.
In the right-click menu, we fine-tune the layout by clicking
Split Horizontally and
Split Vertically. Once the layout is finalized, we click
It is recommended to maximize the window so that you will not feel the letters are too small in the split windows.
Create profiles for terminals running
nvidia-smi dmon under the
Profiles tab, respectively. To keep the terminal useful even after stopping
nvidia-smi dmon, we add
; bash after
nvidia-smi dmon. Also, remember to choose
Hold the terminal open when command exists.
Create layouts under the
Layouts tab. The configurations of the layout we just fine-tuned would be imported automatically. We double click the name of the new layout and change it to
default. We also change the terminal profiles to the
nvidia-smi dmon profiles we have just created. Do not forget to click
Save. The new
default layout will be conflicting to the old
default layout. After closing the Gnome Terminator, we restart the program. The old
default layout will be abandoned and the new
default layout becomes the default one.
All the configurations will be stored in the
~/.config/terminator/config file. So it is equivalent to configure the layouts by modifying the configuration file. The configuration file of the settings we have done in the mouse clicking section is also provided below.
$ cat ~/.config/terminator/config
- Gnome Terminator is Gnome based application. Therefore, unlike Tmux, it could not be used in a non-Gnome environment, such as the SSH terminal.