[フレーム]
Last Updated: September 09, 2019
·
21.05K
· bt3gl

Setting Up Terminator (Terminal ++)

You can use terminator to configure terminal multi-window to start the way you want. Here I am showing my configuration.

Picture

Installing

$ sudo yum install terminator

Make the Way you Like

Open and configure the layout you desire.

CTRL+O splits horizontally and CTRL+E splits vertically.

Go to preferences -> Layouts and clique add to add your configuration. Type the commands you want for each windows (with ; bash after, so the terminal does not close).

Save to the Config File to make it Permanent

Close terminator and modify ~/.config/terminator/config to have your configuration to [[default]]. For example:

[global_config]
 sticky = True
[keybindings]
[profiles]
 [[default]]
 background_image = None
 scrollback_infinite = True
[layouts]
 [[default]]
 [[[child0]]]
 position = 0:25
 type = Window
 order = 0
 parent = ""
 size = 1366, 708
 [[[child1]]]
 position = 632
 type = HPaned
 order = 0
 parent = child0
 [[[child2]]]
 position = 354
 type = VPaned
 order = 0
 parent = child1
 [[[child5]]]
 position = 354
 type = VPaned
 order = 1
 parent = child1
 [[[terminal3]]]
 profile = default
 command = top; bash
 type = Terminal
 order = 0
 parent = child2
 [[[terminal4]]]
 profile = default
 command = su; bash
 type = Terminal
 order = 1
 parent = child2
 [[[terminal7]]]
 profile = default
 command = cd ~/work; bash
 type = Terminal
 order = 1
 parent = child5
 [[[terminal6]]]
 profile = default
 command = cd ~/work; bash
 type = Terminal
 order = 0
 parent = child5
 [[simples]]
 [[[child0]]]
 position = 0:25
 type = Window
 order = 0
 parent = ""
 size = 715, 694
 [[[child1]]]
 position = 348
 type = VPaned
 order = 0
 parent = child0
 [[[terminal3]]]
 profile = default
 command = cd ~/work; bash
 type = Terminal
 order = 1
 parent = child1
 [[[terminal2]]]
 profile = default
 command = cd ~/work; bash
 type = Terminal
 order = 0
 parent = child1
[plugins]

That's it!

To open a different profile (than default), use:

$ terminator -l NAMEPROFILE

1 Response
Add your response

Further customize the terminal with oh-my-zsh :)
https://coderwall.com/p/g801fg

over 1 year ago ·

AltStyle によって変換されたページ (->オリジナル) /