Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Terminator is very powerful at organizing several computers or servers due to the split window and group all function. But here's the deal: I created my own Layout and would appreciate it to load at startup of terminator. Is that possible?

share|improve this question
1  
Can you post your ~/.config/terminator/config, or at least everything below [layouts]? –  pconley Jul 1 '12 at 6:10
    
Hi... There is no Folder ~/.config/terminator. –  zulu34sx Jul 5 '12 at 20:37
    
If you have a running command in your layout, terminator need a few seconds for drawing layout. Add a line as sleep 1 in your shell script. –  user224664 Dec 12 '13 at 8:21

3 Answers 3

up vote 29 down vote accepted
  1. After setting up your layout, right-click on any terminal background and choose PreferencesLayouts tab and click on Add button.

  2. Give it a name and hit Close.

  3. This should create the mentioned ~/.config/terminator/config file.

  4. Now you can start terminator using the saved layout using: terminator -l yourLayout (replace yourLayout with whatever you chose on step 2).

  5. (optional) Edit the ~/.config/terminator/config file so that where it says [layouts] and nested below it [[yourLayout]], rename yourLayout to default and remove/rename the previous default layout. Now, when Terminator starts without any parameters, it will load your custom [[default]] layout!

share|improve this answer
    
Step 4 works sometimes, but sometimes it doesn't. I can't figure out why. This problem was posted by @user9069 here: askubuntu.com/questions/161748/… –  mhnagaoka Aug 20 '12 at 18:53
    
that question has been removed –  Francisco Tomé Costa Oct 18 '13 at 11:14
    
I guess there is no way to make it remember also the paths where each window is when being saved? –  JussiR Mar 19 at 10:24
    
The flags suggested by @Patrick on his answer below solves the layout issues on my first commend. –  mhnagaoka Apr 5 at 14:24
    
Reame new layout name to "default" to start automaticaly –  WHK Jun 26 at 14:02

I use the same way like mhnagaoka suggested, but I made usable from the launcher in Unity. Had also an issue with plain "terminator -l my_default" command, so somewhere I found a proposal to use additional flags

  • -b for borderless and
  • -m for maximized.

The final Command is following terminator -m -b -l my_default.

Now you need to modify terminator.desktop entry for Unity.

Go to your application folder, in my case it was /usr/share/applications. You need to have root permissions to edit with your text editor terminator.desktop.

In my case it was, sudo vim terminator.desktop.

replace the Exec argument to your Command.

Now you can add the entry to your Unity Launcher, and it should always open your custom layout on the start.

share|improve this answer
1  
not working in my 14.04 :( it just shows the same single terminal terminator window –  tishma Jul 31 at 12:01

After saving your layout (as per mhnagaoka's answer), you can make your changes used by default by editing the config file.

Edit the ~/.config/terminator/config file and look for where it says [layouts]. It should look something like this:

[layouts] [[default]] # ..default layout [[yourLayout]] # ..your custom layout

Rename [[yourLayout]] to [[default]] and remove/rename the previous default layout. Now, when Terminator starts without any parameters, it will load your custom default layout!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.