20

I have VirtualBox installed on Ubuntu 12.04 LTS (host) with Ubuntu 10.04 LTS as a VM (guest). The VM has guest additions installed.

I'd like to be able to reliably use alt-tab to switch windows within the guest, at least when I am in full-screen mode. Instead what I currently get is that sometimes it switches windows in the guest, sometimes it switches windows in the host system, sometimes it activates the HUD in the host and sometimes it does more than one of these three things at the same time.

What can I do so that when I am working on the guest only the guest responds to alt-tab? (I have a similar problem with the super key--though that isn't as much of an issue since 10.04 doesn't make as much use of it.)

Zanna
  • 70,465
snowguy
  • 6,120
  • Possible duplicate? http://askubuntu.com/questions/140497/virtualbox-guests-no-longer-getting-shortcuts – fossfreedom Jul 18 '12 at 06:32
  • Thanks fossfreedom for pointing me to that. I hadn't seen it, and it is interesting. In answer to your question, I don't think this is a duplicate since the solution to that problem was to enable "Auto capture keyboard" and in my case it is already enabled. – snowguy Jul 18 '12 at 15:58
  • 1
    This question has the right solution: http://askubuntu.com/questions/122209/how-do-i-modify-or-disable-the-huds-use-of-the-alt-key. – Rörd Nov 22 '12 at 06:50
  • @sownguy Did you find a solution to this problem? – user785287 Mar 31 '14 at 23:32
  • no I did not :( – snowguy Apr 02 '14 at 01:36

4 Answers4

21

Using right Ctrl you can move between real OS and Virtual for the shortcuts. So every time you hit that button, you change between VM and the real machine and there is where the shortcut will apply.

The default desktop that a shortcut applies when you open a VM in full screen is a little bit random. Sometimes inside the VM, sometimes on the real desktop.

Zanna
  • 70,465
Giannis
  • 476
  • 4
  • 12
2

You may also want to completely disable the HUD hotkey. I do this because I spent most of my time inside VMs and not on the host desktop.

How do I modify or disable the HUD's use of the Alt key?

MikeB
  • 217
0

Quick solution, Super + Alt + Tab does the trick if you face the issue.

damadam
  • 2,833
samb102
  • 101
0

I also have met such problem, but I find that I use Left Alt as the host key, and then I change the host key to Right Alt (using VBox settings), and press Left Alt and Tab, it makes difference.

damadam
  • 2,833