Terminator provides an option to run in a single window, multiple GNOME terminals, allowing you the flexibility to adjust the workspace to suit your needs.
If you ever want can be arranged in a plurality of terminals and organize them in one window, then we may give you a good news. The Terminator Linux can do this for you. no problem!
Split window
Terminator originally opened like a terminal window as a single window. However, once click in the window, it will pop up an option that allows you the flexibility to make changes. You can choose to "split horizon" or "vertical split", the window you are currently divided into two smaller windows. In fact, next to the menu there will be a small segmentation results shown (like =
and ||
), you can repeat the split window as needed. Of course, if you do the entire window is divided into six or nine more, then you may find that they are too small to be used effectively.
ASCII art to illustrate the process of using split window, you might see something like the following way:
Another method is to use split window control key combination, e.g., using Ctrl+Shift+e
vertical split, using Ctrl+Shift+o
( "O" indicates "open") horizontally split windows.
After Terminator split is complete, you can click on any window use, and move between windows according to the work requirements.
Maximized window
If you want to ignore, among other window outside of a window and just focus on one, you can click on the window, then select the "Maximize" option from the menu. Then the window stays full all the space. Click again and choose "Restore all terminals" to return to the multi-window display. Used Ctrl+Shift+x
to switch between normal and maximize settings.
Window size indication (e.g., 80x15) on the label window displays the number of characters per line and number of lines for each window.
close the window
To close any window, open the Terminator menu, then select "Close." Other windows will adjust itself take up space until you close the last window.
Save your custom settings
After the window is divided into a plurality of portions, the customized settings to the default Terminator easy. Select "Preferences" from the pop-up menu, then select "Layout" tab from the open top of the window. Then you should see a list of "new layout." Just click at the bottom of the "Save" and then click the lower right corner of "close." Terminator will save your settings ~/.config/terminator/config
, and then each time you use the time will use the file.
You can also expand the whole window by using the mouse stretched. Again, if you want to keep the changes, select "Preferences", "Layout" from the menu, then select "Save" and "off."
To choose between saving the configuration
If you prefer, you can set up multiple profiles by maintaining multiple Terminator window layout, rename each profile (eg config-1
, config-2
), then use it when you want to move it to ~/.config/terminator/config
. There is a similar script to perform this task. It lets you choose between three pre-configured window layout.
#!/bin/bash
PS3='Terminator options: '
options=("Split 1" "Split 2" "Split 3" "Quit")
select opt in "${options[@]}"
do
case $opt in
"Split 1")
config=config-1
break
;;
"Split 2")
config=config-2
break
;;
"Split 3")
config=config-3
break
;;
*)
exit
;;
esac
done
cd ~/.config/terminator
cp config config-
cp $config config
cd
terminator &
If useful, you can give options than a config-1
more meaningful name.
to sum up
Terminator is a multi-window processing related tasks set a good choice. If you've never used it, you may need to use sudo apt install terminator
or sudo yum install -y terminator
like command for installation.
I hope you enjoy using Terminator. There, the same name as another character says, "I'll be back!"
作者:Sandra Henry-Stocker 选题:lujun9972 译者:geekpi 校对:wxy