Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. gnome-terminal
  2. --tab --title="Term 1"
  3. --working-directory=/tmp
  4. -e "bash -i"
  5. --tab-with-profile=Default --title="Term 2"
  6. --working-directory=/home
  7. -e "bash -i"
  8. --tab-with-profile=Default --title="Term 3"
  9. --working-directory=/etc
  10. -e "bash -i"
  11.  
  12. [Desktop Entry]
  13. Name=start-term-tabs test
  14. Terminal=false
  15. Type=Application
  16. Icon=/usr/share/app-install/icons/terminal-tango.svg
  17. Exec=/home/USER/Desktop/start-term-tabs.sh
  18.  
  19. Exec=gnome-terminal --tab --title="Term 1" --working-directory=/tmp -e "bash -i" --tab-with-profile=Default --title="Term 2" --working-directory=/home -e "bash -i" --tab-with-profile=Default --title="Term 3" --working-directory=/etc -e "bash -i"
  20.  
  21. [Desktop Entry]
  22. Name=start-term-tabs test
  23. Terminal=false
  24. Type=Application
  25. Icon=/usr/share/app-install/icons/terminal-tango.svg
  26. Exec=gnome-terminal
  27. --tab --title="Term 1"
  28. --working-directory=/tmp
  29. -e "bash -i"
  30. --tab-with-profile=Default --title="Term 2"
  31. --working-directory=/home
  32. -e "bash -i"
  33. --tab-with-profile=Default --title="Term 3"
  34. --working-directory=/etc
  35. -e "bash -i"
  36.  
  37. PROG="
  38. PATH=/usr/lib/virtualbox:/usr/bin:bin ;
  39. VM='{045c7bf0-555e-4675-b95c-f8814d689077}' ;
  40. VMNAME='Win10' ;
  41. ACTION=$(zenity --list --text 'Choose action for '$VMNAME':' --radiolist --column '' --column ''
  42. --hide-header TRUE 'Attach to Running/Suspended' FALSE 'Suspend') ;
  43. case $ACTION in
  44. Attach*) exec VirtualBoxVM --comment $VMNAME --startvm "$VM"
  45. -no-startvm-errormsgbox --separate ;
  46. ;;
  47. Suspend*) exec vboxmanage controlvm $VMNAME savestate;
  48. ;;
  49. esac ;"
  50.  
  51. echo Exec=/usr/bin/bash -c '"'$PROG'"' >> Win10.desktop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement