1

So I am running terminator 0.98. I like fish shell but for some task it is handy to have bash (like for virtualenvwrapper). So I now have two windows that open when I start terminator. But I would like to have one that opens with fish and one with bash. Is this possible, if so: how?

I start terminator with my custom layout by changing my config file located ~/.config/terminator/config.

In the layout section of the config file I used this code.

[layouts]
  [[default]]
    [[[child0]]]
      fullscreen = False
      last_active_window = True
      maximised = True
      order = 0
      parent = ""
      size = 1280, 985
      type = Window
    [[[child1]]]
      order = 0
      parent = child0
      position = 490
      ratio = 0.5
      type = VPaned
terdon
  • 242,166
Tristan
  • 267
  • Just start the alternative shell manually. e.g. $ bash – Sparhawk Jun 24 '16 at 06:34
  • 2
    How do you start those terminators? I don't know terminator, but it probably has an option to specify what command to run, so call it (edit the menus to give an extra option, or whatever suits your way or working) with that option. E.g. I prefer the old xterm so I have a script doing xterm -e screen to get a terminal where screen is running (the script does more than that, but that's not important). – Henrik supports the community Jun 24 '16 at 06:42

1 Answers1

1

You need to add a command to the relevant pane. If your default shell is bash, just have one pane run fish:

[layouts]
  [[default]]
    [[[child0]]]
      fullscreen = False
      last_active_window = True
      maximised = True
      order = 0
      parent = ""
      size = 1280, 985
      type = Window

    [[[child1]]]
      order = 0
      parent = child0
      command = 'bash'
      position = 490
      ratio = 0.5
      type = VPaned
    [[[child1]]]
      order = 0
      parent = child0
      position = 490
      ratio = 0.5
      type = VPaned
terdon
  • 242,166