mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-26 21:30:55 +08:00
153 lines
6.7 KiB
Markdown
153 lines
6.7 KiB
Markdown
|
[#]: subject: "Terminator: The Tiling Terminal Emulator for Linux Pros"
|
|||
|
[#]: via: "https://itsfoss.com/terminator/"
|
|||
|
[#]: author: "Anuj Sharma https://itsfoss.com/author/anuj/"
|
|||
|
[#]: collector: "lkxed"
|
|||
|
[#]: translator: " "
|
|||
|
[#]: reviewer: " "
|
|||
|
[#]: publisher: " "
|
|||
|
[#]: url: " "
|
|||
|
|
|||
|
Terminator: The Tiling Terminal Emulator for Linux Pros
|
|||
|
======
|
|||
|
|
|||
|
You might have seen some colleagues or YouTubers using a terminal window with multiple terminal sessions running in it.
|
|||
|
|
|||
|
![gnu screen][1]
|
|||
|
|
|||
|
Some pro Linux users do the multiple split pane with screen or [tmux commands][2]. These commands work in any terminal application but involve a steep learning curve.
|
|||
|
|
|||
|
If you want multiple terminal sessions in the same application window without the complexity of the tmux or [screen commands][3], Terminator is your friend.
|
|||
|
|
|||
|
No, not that terminator. This terminator 👇
|
|||
|
|
|||
|
![terminator htop neofetch cmatrix][4]
|
|||
|
|
|||
|
The [terminal emulators][5] installed on your system may have multiple-tab support. On the other hand, Terminator supports multiple resizable terminal panels.
|
|||
|
|
|||
|
It emulates something like a tiling window manager and tiles the terminal panel in a single window.
|
|||
|
|
|||
|
In this article, I’ll show you how to install and use Terminator in Ubuntu and other Linux distributions.
|
|||
|
|
|||
|
But before that, let’s have a quick look at the features Terminator offers.
|
|||
|
|
|||
|
### Terminator gives you multiple terminal sessions in the same window
|
|||
|
|
|||
|
[Terminator][6] is a GTK application based on GNOME Terminal that uses VTE3 (Virtual Terminal Emulator widget GTK3).
|
|||
|
|
|||
|
Being an application based on GNOME Terminal it has some dependencies linked with the GNOME Desktop Environment.
|
|||
|
|
|||
|
However, I found the application relatively lightweight, even with the GNOME dependencies. Perhaps it should not be a problem to use it on other desktop environments.
|
|||
|
|
|||
|
From the outside, Terminator might look like any other terminal emulator. But the possibilities are endless with Terminator and I will show them to you in later sections.
|
|||
|
|
|||
|
![terminator htop multiple][7]
|
|||
|
|
|||
|
#### Features
|
|||
|
|
|||
|
Let me summarize some of the main features of Terminator:
|
|||
|
|
|||
|
- Terminals in tiling layout
|
|||
|
- Supports multiple tabs
|
|||
|
- Drag and drop terminal panel (great mouse support)
|
|||
|
- Keyboard shortcuts akin to tiling window managers
|
|||
|
- Saving layouts and profiles so one can get a quick head start
|
|||
|
- Extensible through plugins
|
|||
|
|
|||
|
### Installing Terminator
|
|||
|
|
|||
|
Installing Terminator is as simple as installing any other package because it is available in the official repositories of all mainstream distributions you can name.
|
|||
|
|
|||
|
For your convenience, I have listed the commands for some major distributions below.
|
|||
|
|
|||
|
For Ubuntu and Debian based distributions, enter the below command to install Terminator:
|
|||
|
|
|||
|
```
|
|||
|
sudo apt install terminator
|
|||
|
```
|
|||
|
|
|||
|
For Fedora and Red Hat based distributions, use:
|
|||
|
|
|||
|
```
|
|||
|
sudo dnf install terminator
|
|||
|
```
|
|||
|
|
|||
|
For Arch and Manjaro based distributions, enter the below command to update and install Terminator:
|
|||
|
|
|||
|
```
|
|||
|
sudo pacman -Syu terminator
|
|||
|
```
|
|||
|
|
|||
|
Note: You might not get the latest version of Terminator in some of the Long term release distributions’ repos.
|
|||
|
|
|||
|
One can also install Terminator using the Graphical Package Manager provided by your distribution. But, there is no fun in installing a Terminal Emulator from the GUI.
|
|||
|
|
|||
|
### Using Terminator
|
|||
|
|
|||
|
When you launch Terminator default window will look like a simple Terminal window. But, with some patience, it can work like a tiling window manager inside a single window.
|
|||
|
|
|||
|
![terminator default window][8]
|
|||
|
|
|||
|
Terminator allows you to use the mouse for creating new panes by splitting the present one horizontally and vertically.
|
|||
|
|
|||
|
![terminator right click option][9]
|
|||
|
|
|||
|
However, you’ll be a lot faster with keyboard shortcuts. It takes some time to get used to the keys but you’ll get there eventually.
|
|||
|
|
|||
|
Here, I opened [htop][10] in the first panel as shown below.
|
|||
|
|
|||
|
![terminator htop][11]
|
|||
|
|
|||
|
To create a new terminal panel to the right, just enter `Ctrl + Shift + e` shortcut keys. Secondly, I have used [neofetch][12] in the right panel, as shown below.
|
|||
|
|
|||
|
![terminator htop neofetch][13]
|
|||
|
|
|||
|
Lastly, I created another panel below the one with neofetch using `Ctrl + Shift + o` shortcut keys and launched `cmatrix` here. It’s one of those useless but [amusing Linux commands][14].
|
|||
|
|
|||
|
![terminator htop neofetch cmatrix][15]
|
|||
|
|
|||
|
Above is the final screenshot of what I did in this walkthrough. Now you understand why I said that Terminator creates a tiling window manager like environment in a single window.
|
|||
|
|
|||
|
This tiling feature will come in handy if you need to open many terminals without installing a Tiling Window Manager. Terminator also supports tabs but the tiling feature is the USP of this application, in my opinion.
|
|||
|
|
|||
|
Terminator is one of the few applications that come with great documentation. If you need more information, please take a look at its [documentation][16].
|
|||
|
|
|||
|
### Conclusion
|
|||
|
|
|||
|
I believe all terminal emulators support tabbed interface. But you’ll have to switch between the tabs and it’s not convenient when you have to keep an eye on multiple sessions simultaneously.
|
|||
|
|
|||
|
Terminator may not look as good as [Blackbox][17] or [GNOME Console][18]. But it has features that seasoned Linux users love.
|
|||
|
|
|||
|
It serves a purpose that may not what every Linux user needs or wants. I leave it up to you to decide if it is worth your time.
|
|||
|
|
|||
|
--------------------------------------------------------------------------------
|
|||
|
|
|||
|
via: https://itsfoss.com/terminator/
|
|||
|
|
|||
|
作者:[Anuj Sharma][a]
|
|||
|
选题:[lkxed][b]
|
|||
|
译者:[译者ID](https://github.com/译者ID)
|
|||
|
校对:[校对者ID](https://github.com/校对者ID)
|
|||
|
|
|||
|
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
|||
|
|
|||
|
[a]: https://itsfoss.com/author/anuj/
|
|||
|
[b]: https://github.com/lkxed
|
|||
|
[1]: https://itsfoss.com/wp-content/uploads/2022/11/gnu-screen.webp
|
|||
|
[2]: https://linuxhandbook.com/tmux/
|
|||
|
[3]: https://linuxhandbook.com/screen-command/
|
|||
|
[4]: https://itsfoss.com/wp-content/uploads/2022/11/terminator-htop-neofetch-cmatrix.png
|
|||
|
[5]: https://itsfoss.com/linux-terminal-emulators/
|
|||
|
[6]: https://github.com/gnome-terminator/terminator
|
|||
|
[7]: https://itsfoss.com/wp-content/uploads/2022/11/terminator-htop-multiple.png
|
|||
|
[8]: https://itsfoss.com/wp-content/uploads/2022/11/terminator-default-window.png
|
|||
|
[9]: https://itsfoss.com/wp-content/uploads/2022/11/terminator-right-click-option.png
|
|||
|
[10]: https://itsfoss.com/use-htop/
|
|||
|
[11]: https://itsfoss.com/wp-content/uploads/2022/11/terminator-htop.png
|
|||
|
[12]: https://itsfoss.com/using-neofetch/
|
|||
|
[13]: https://itsfoss.com/wp-content/uploads/2022/11/terminator-htop-neofetch.png
|
|||
|
[14]: https://itsfoss.com/funny-linux-commands/
|
|||
|
[15]: https://itsfoss.com/wp-content/uploads/2022/11/terminator-htop-neofetch-cmatrix.png
|
|||
|
[16]: https://gnome-terminator.readthedocs.io/en/latest/
|
|||
|
[17]: https://itsfoss.com/blackbox-terminal/
|
|||
|
[18]: https://itsfoss.com/gnome-console/
|