I want to share this plugin, I use Terminator, and every time I wanted to set up my development environment, I had to launch Terminator and execute the commands needed. In order to avoid this repetitive sequence, I decided to write a plugin that, with just one click, launches Terminator, creates divisions in it, and executes the commands needed for every project.
-
Put files in
~/.config/terminator/plugins/
:mkdir -p ~/.config/terminator/plugins cp applauncher.py ~/.config/terminator/plugins/ cp projects.py ~/.config/terminator/plugins/
-
Restart Terminator, go to
Context menu > Preferences > Plugins
and selectAppLauncher
.
-
Edit
~/.config/terminator/plugins/projects.py
, example::::python EDITOR = "gedit" PROJECTS = {"Project 1": {"split": "vert", "terminal1": {"split": "horiz", "terminal1": {"commands": ["dir"], }, "terminal2": {"commands": ["ls"], } }, "terminal2": {"commands": ["dir"], }, }, "Project 2": {"enabled": False, "split": "vert", "terminal1": {"split": "horiz", "terminal1": {"commands": ["command 1", "command 2", "command 3"], }, "terminal2": {"commands": ["command"], } }, "terminal2": {"split": "horiz", "terminal1": {"commands": ["command"], }, "terminal2": {"commands": ["command"], } }, }, "Project 3": {"enabled": True, commands": ["history", ] } }
-
Restart Terminator.
- Go to
Context menu > AppLauncher
, and select your project.
-
Guido Castillo Gómez [email protected]
-
Guillermo Moguel Mandujano [email protected] (Updated)
The plugin is licensed as GPLv2 only.