Can I use the keyboard to toggle between host & VM?

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
virtual_user
Posts: 7
Joined: 16. Oct 2012, 00:33

Can I use the keyboard to toggle between host & VM?

Post by virtual_user »

I'm running virtual box on a Mac OS host with Windows 7 as my virtual machine. When I'm in mac, I can use the shortcut Command + Tab to transfer windows to the program I'm running on the virtual machine. But once I'm in that program, I cannot use the same shortcut to toggle back to my Mac program. Anyone know what the problem is? Thanks!
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Can I use the keyboard to toggle between host & VM?

Post by BillG »

The same key combination should toggle you back, but the host OS would have to be in focus, not the guest. Have you tried clicking the mouse outside the guest window before you toggle?
Bill
virtual_user
Posts: 7
Joined: 16. Oct 2012, 00:33

Re: Can I use the keyboard to toggle between host & VM?

Post by virtual_user »

BillG wrote:The same key combination should toggle you back, but the host OS would have to be in focus, not the guest. Have you tried clicking the mouse outside the guest window before you toggle?
Actually, the whole point is that I don't want to use the mouse at all. I'm wanting to toggle back and forth without touching the mouse.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Can I use the keyboard to toggle between host & VM?

Post by BillG »

If you are using the vm, you have to do something to change the focus if you want the input from the keyboard to go to the host OS. The simplest way to do that is to click the mouse outside the vm window. I guess there is a way to do that from the keyboard. I have never needed to use it, so I don't know if or what it is.
Bill
nxgonzalez
Posts: 1
Joined: 26. Oct 2012, 06:28

Re: Can I use the keyboard to toggle between host & VM?

Post by nxgonzalez »

Press the left cmd key, then press left cmd key +1 to switch to screen #1. Or another # for a different screen.

To cycle among running programs ...
1 - Press the left command key
2 - Press left command key + tab key
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Any and all
Contact:

Re: Can I use the keyboard to toggle between host & VM?

Post by michaln »

nxgonzalez wrote:Press the left cmd key, then press left cmd key +1 to switch to screen #1. Or another # for a different screen.
That is indeed the trick. Although I'd say 'press the Host key' - it defaults to the left Command key on OS X, but can be reconfigured, and has a different default on other platforms.
virtual_user
Posts: 7
Joined: 16. Oct 2012, 00:33

Re: Can I use the keyboard to toggle between host & VM?

Post by virtual_user »

So, so helpful! Thanks!!
Post Reply