Created
September 3, 2015 16:56
-
-
Save konfou/18fa68ba961ecdc63536 to your computer and use it in GitHub Desktop.
vbox.desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Encoding=UTF-8 | |
Version=1.0 | |
Name=$vb_name | |
Comment=Starts the VirtualBox machine $vb_name | |
Type=Application | |
Exec=/usr/lib/virtualbox/VirtualBox --comment $vb_name --startvm $vb_uuid | |
Icon=virtualbox-vbox.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
/usr/lib/virtualbox/VirtualBox --startvm $(VBoxManage showvminfo $vbox_path | grep UUID -m 1 | sed 's/UUID\://') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
vb_uuid=$(VBoxManage showvminfo $vbox_path | grep UUID -m 1 | sed 's/UUID\://') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment