Autolaunch Guest When Opening Virtual Box

Discussions related to using VirtualBox on Mac OS X hosts.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Autolaunch Guest When Opening Virtual Box

Post by ChipMcK »

loukingjr wrote:Thanks Chip but I know how to create an alias. :) I found the problem, I just don't know how to fix it. the .vbox files are supposed to open with vmstarter which is inside the VirtualBox package. Somehow they were changed to start with TextEdit and I don't know how to change them back. If I right click on them to select a program to open them with I can't select vmstarter because it's inside the VirtualBox package. :D

edit: I worded that badly. I can set each individually but I can't set all .vbox files to "Always open with"
RCDefaultApp
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Autolaunch Guest When Opening Virtual Box

Post by loukingjr »

Amazing. It still works 5+ years later. Thanks much.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Autolaunch Guest When Opening Virtual Box

Post by ChipMcK »

loukingjr wrote:Amazing. It still works 5+ years later. Thanks much.
It is called good programming. Mountain Lion caused 2.1 as I recall - On the surface, ListBoxes were widened; some lists were of fixed size
Last edited by ChipMcK on 15. Dec 2014, 02:26, edited 1 time in total.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Autolaunch Guest When Opening Virtual Box

Post by loukingjr »

well that and Apple didn't change how extensions are handled. :wink:
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Autolaunch Guest When Opening Virtual Box

Post by ChipMcK »

loukingjr wrote:well that and Apple didn't change how extensions are handled. :wink:
Hush, you are liable to stir up a hornet's nest
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Autolaunch Guest When Opening Virtual Box

Post by loukingjr »

k, I'll shush. lol (was just thinking on how many things have changed). :)
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Autolaunch Guest When Opening Virtual Box

Post by Perryg »

I still wonder why this has to be so hard. Does the Mac version not have the "create shortcut on desktop" line Linux does?
Mine is available with a right click on the guest or the machine tab.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Autolaunch Guest When Opening Virtual Box

Post by ChipMcK »

Perryg wrote:I still wonder why this has to be so hard. Does the Mac version not have the "create shortcut on desktop" line Linux does?
ChipMcK wrote:
  1. In VB manager Right-Click and select Create Alias on Desktop OR
  2. Right-Click on .vbox file, select Make Alias and move that to the Desktop
Seems very simple to me
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Autolaunch Guest When Opening Virtual Box

Post by Perryg »

OK so on the "Create Alias on Desktop " can you see the actual properties ( command ) that starts the guest?

Is it close to the one I posted? Because the Dbl click on the .VBox file was not supposed to be used to actually start the guest. It was intended to actually add the guest to the main manager, but that could even change with future versions, whereas the shortcut would be constant.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Autolaunch Guest When Opening Virtual Box

Post by ChipMcK »

lou's tables of file associations got screwed; he is repairing or has repaired
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Autolaunch Guest When Opening Virtual Box

Post by Perryg »

I understand but can you answer my question? I want to know if the Mac version is different in this regard.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Autolaunch Guest When Opening Virtual Box

Post by ChipMcK »

Perryg wrote:Because the Dbl click on the .VBox file was not supposed to be used to actually start the guest. It was intended to actually add the guest to the main manager, but that could even change with future versions, whereas the shortcut would be constant.
My limited of understanding of OSX:
An Allias is a 'pointer' to a file, similiar to a symlink.
Dbl-click on a file, or an alias for it, results in the associated program being invoked with the file as input

What you supplied will be in the tables of file assocations
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Autolaunch Guest When Opening Virtual Box

Post by ChipMcK »

Perryg wrote:IDoes the Mac version not have the "create shortcut on desktop" line Linux does?
No. OSX has context menu item Make Alias, which is creates entry in same folder as the file, as in "fileName alias'
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Autolaunch Guest When Opening Virtual Box

Post by ChipMcK »

Perryg wrote:Because the Dbl click on the .VBox file was not supposed to be used to actually start the guest. It was intended to actually add the guest to the main manager
Add as in Machine --> Add ... ? In OSX, dbl click will result in 'starting' the file. The Document Model, yes?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Autolaunch Guest When Opening Virtual Box

Post by Perryg »

Is there a way that you can see the actual code in the alias if created as a desktop shortcut but not the one from the vbox file?
Post Reply