Skip to content

Instantly share code, notes, and snippets.

@ArnaudD
Last active June 21, 2023 06:11
Show Gist options
  • Save ArnaudD/8a860073f9a02ce42a34 to your computer and use it in GitHub Desktop.
Save ArnaudD/8a860073f9a02ce42a34 to your computer and use it in GitHub Desktop.
Custom Terminator Layout in Ubuntu Launcher
  1. Add [[work_layout]] under [layouts] in ~/.config/terminator/config
[layouts]
  ...
  [[work_layout]]
    [[[child0]]]
      position = 49:24
      type = Window
      order = 0
      parent = ""
      size = 1871, 1056
    [[[child1]]]
      labels = None, None
      type = Notebook
      order = 0
      parent = child0
    [[[child2]]]
      position = 935
      type = HPaned
      order = 0
      parent = child1
    [[[child5]]]
      position = 935
      type = HPaned
      order = 1
      parent = child1
    [[[terminal3]]]
      profile = default
      command = cd /home/arnaud/Dev/fizix/fizix-front; zsh
      type = Terminal
      order = 0
      parent = child2
    [[[terminal4]]]
      profile = default
      command = cd /home/arnaud/Dev/fizix/fizix-front; npm start
      type = Terminal
      order = 1
      parent = child2
    [[[terminal7]]]
      profile = default
      command = cd /home/arnaud/Dev/fizix/fizix-api; npm start
      type = Terminal
      order = 1
      parent = child5
    [[[terminal6]]]
      profile = default
      command = cd /home/arnaud/Dev/fizix/fizix-api; docker-compose up
      type = Terminal
      order = 0
      parent = child5

Or create a new layout in terminator preferences

  1. Create a file ~/Desktop/MyWorkTerm.desktop with the following content
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[fr_FR]=/path_to_your_custom_icon.png
Name[fr_FR]=Fizix
Exec=terminator --layout work_layout
Name=MyWorkTerm
Icon=/path_to_your_custom_icon.png
  1. Then make it executable
chmod u+x ~/Desktop/MyWorkTerm.desktop
  1. Launch it !

Once launched, right click on the icon to pin it to the launcher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment