Terminator runs using a plurality of terminals in a window

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.

  1. #!/bin/bash
  2. PS3='Terminator options: '
  3. options=("Split 1" "Split 2" "Split 3" "Quit")
  4. select opt in "${options[@]}"
  5. do
  6. case $opt in
  7. "Split 1")
  8. config=config-1
  9. break
  10. ;;
  11. "Split 2")
  12. config=config-2
  13. break
  14. ;;
  15. "Split 3")
  16. config=config-3
  17. break
  18. ;;
  19. *)
  20. exit
  21. ;;
  22. esac
  23. done
  24. cd ~/.config/terminator
  25. cp config config-
  26. cp $config config
  27. cd
  28. 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!"


via: https://www.networkworld.com/article/3436784/how-to-use-terminator-on-linux-to-run-multiple-terminals-in-one-window.html

作者:Sandra Henry-Stocker 选题:lujun9972 译者:geekpi 校对:wxy

本文由 LCTT 原创编译,Linux中国 荣誉推出

Guess you like

Origin www.cnblogs.com/pipci/p/12589633.html