Skip to content

Instantly share code, notes, and snippets.

@mrakitin
Last active April 30, 2021 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrakitin/c928c5a6d8806e498eabb439d3916ddb to your computer and use it in GitHub Desktop.
Save mrakitin/c928c5a6d8806e498eabb439d3916ddb to your computer and use it in GitHub Desktop.
#!/bin/bash
# This was tested in the VirtualBox VM from
# https://slaclab.github.io/pydm-tutorial/intro.html. `htop` and `terminator`
# were installed via 'sudo apt-get install ...'
# Documentation: https://gnome-terminator.readthedocs.io/en/latest/advancedusage.html.
terminator -e "bash -i -l <<< '. /etc/profile.d/conda.sh && conda activate tutorial && exec </dev/tty && ipython'" &
sleep 2
terminator --new-tab -e "bash -i -l -c 'htop'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment