Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Can I create a shortcut to a virtualbox OS in the unity sidebar without it being on the desktop too. I tried to right click in virtualbox and create shortcut on desktop then move it. but if i do it then delete the desktop shortcut it renders the unity shortcut useless.

Any ideas?

share|improve this question

2 Answers 2

To add a launcher item that runs a single specific virtual machine we can create a new launcher item as it is described here for 11.10.

In short, to start a Virtual Box machine without the Virtual Box Manager we may add the following command to start the VM in the Exec= section of the .desktop file:

[Desktop Entry]
Name=the name you want shown
Exec=VBoxManage startvm 'name of the machine'
Icon=icon name

Proceed as it is decribed in the answer linked above. You will also find solution for other Ubuntu versions there.

share|improve this answer

Save the shortcut to another place and don't delete it.

If you move it to /usr/share/applications it will be accessible to all users and it will appear on the Dash, but any other place will do.

Then you can drag the new shortcut to the Unity Bar even from the dash.

share|improve this answer
I have also found i can add a custom icon by adding a .png to usr/share/pixmaps –  Eekfonky Nov 29 '11 at 17:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.