Skip to content

Instantly share code, notes, and snippets.

@konfou konfou/vbox.desktop
Created Sep 3, 2015

Embed
What would you like to do?
vbox.desktop
[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
#!/bin/sh
/usr/lib/virtualbox/VirtualBox --startvm $(VBoxManage showvminfo $vbox_path | grep UUID -m 1 | sed 's/UUID\://')
#!/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
You can’t perform that action at this time.