Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I'm running Ubuntu 11.04 with VirtualBox and a Windows XP VM. This VM has Office 2007 installed on it. How can I use Guest Controls so that Office files (.docx, .xlsx, .pptx, etc.) open in Office on the VM when launched from Linux?

share|improve this question
What do you mean by "Guest Controls"? If, according to your tag "guest-additions", you are talking about the guest additions in your. VM. Does can not control how you open files on the host system. – cularis May 20 '11 at 16:35

As far as I know, this feature is not available in Virtual Box (at least I cannot find documentation relating to it.) It is available on other platforms, like Parallels on OSX and it's called Shared Applications.

share|improve this answer

It appears you can do what you suggest, but it will require some finesse and bash scripting

  • start by testing 'VBoxManage guestcontrol exec vmname winword.exe -arguments mydoc.doc' to make Word launch and open a document
  • Once that is working, use VBoxmanage startvm "vmname" to start the vm if it isn't running
  • Next, put them all together in a script with a commandline parameter that takes the filename as input
  • Finally, create an action in gnome that allows you to right click and launch the bash script you wrote with the filename as a parameter.

Have fun! Let us know what you come up with.

share|improve this answer

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.