Advertisement
Guest User

Untitled

a guest
Sep 1st, 2015
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. $ cd ~/to/vitualenv/subdir/where/service/code/located
  2. $ source ../path/to/virtualenv/bin/activate
  3. $ ./script-to-start-service
  4. + Set title of terminal to the service name via GUI
  5.  
  6. $ gnome-terminal --working-directory=~/to/vitualenv/subdir --window --tab --tab
  7.  
  8. bash --rcfile ../path/to/virtualenv/bin/activate
  9.  
  10. gnome-terminal
  11. --tab-with-profile=service --working-directory=/home/$USER/data --title="feelgood" --command="yes"
  12. --tab-with-profile=service --working-directory=/code --title="negative" --command="yes no"
  13.  
  14. source ~/.bashrc
  15. source ../path/to/virtualenv/bin/activate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement