Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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 a .desktop file we can place in ~/.local/share/applications:

[Desktop Entry]
Name=the name you want it to have
Exec=VirtualBox --startvm 'name of the machine'
Icon=icon name

After giving the .desktop file executable permission we can now start our virtual machine by double-click on it, or we can drag it on the Launcher or the Desktop for convenient access.

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.