A, install,
- Add repository/software source
sudo add-apt-repository ppa:gnome-terminator
Copy the code
- Update the source
sudo apt update
Copy the code
- Install the terminator
sudo apt install terminator
Copy the code
Second, beautify the Terminator interface
This is the initial interface.Modify the configuration file to beautify the window.
Enter the following command on the terminal:
cd ~/.config/terminator/
sudo gedit config
Copy the code
Attention! The first time you enter the ~/.config/terminator/ directory, the config file does not exist. You must go through the following steps to find the config file
- Right click terminator on black background
- Click Preferences
3. Select Profiles (layout) and select according to the mark in the figure. You can customize the name at Default.
4. Follow the preceding steps to find the config file and edit it.
My config contents:
[global_config]
enabled_plugins = CustomCommandsMenu, LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
handle_size = -3
inactive_color_offset = 1.0
suppress_multiple_term_dialog = True
title_transmit_bg_color = "#3e3838"
title_transmit_fg_color = "# 000000"
[keybindings]
[layouts]
[[default]]
[[[child1]]]
parent = window0
profile = default
type = Terminal
[[[window0]]]
parent = ""
size = 925, 570
type = Window
[plugins]
[profiles]
[[default]]
background_color = "#1e1e1e"Background_darkness = 0.8 background_image = None background_type = transparent cursor_color ="#e8e8e8"
cursor_shape = ibeam
font = Ubuntu Mono 14
foreground_color = "#e8e8e8"
palette = "#292424:#5a8e1c:#2d5f5f:#cdcd00:#1e90ff:#cd00cd:#00cdcd:#d6d9d4:#4c4c4c:#868e09:#00ff00:#ffff00:#4682b4:#ff00ff:#00ffff :#ffffff"
scroll_background = False
scrollback_lines = 3000
show_titlebar = False
use_system_font = False
Copy the code
The beautified Terminator
Three, commonly used shortcut keys
Ctrl + Shift + O Split the terminal horizontally (split the upper and lower Windows) Ctrl + Shift + E Split the terminal vertically (split the left and right Windows) Ctrl + Shift + W Close the current terminal Ctrl + Shift + X Zoom in (restore) the current terminal Ctrl + Shift + G Clear the screen Ctrl + Shift + Right/Left Move the splicer bar to the Right/Left of a vertically split terminal Ctrl + Shift + S Hide/show the scroll bar Ctrl + Shift + Q Close all terminals (exit the program) F11 Full screen
Four, can not open or flash back problem
The default version of the terminator is Python3. X, and the Terminator is based on Python2, so it will cause problems. The solution is as follows: Terminal input:
sudo gedit /usr/share/terminator/terminator
Copy the code
I’m going to put the first row in the first row#! /usr/bin/python
Modified to#! /usr/bin/python2
Then terminator can be opened, the pro test is available.