Ubuntu – Keystrokes are not grabbed by VirtualBox on guest machine

virtualboxvirtualizationwindows

I have a VirtualBox guest machine running Windows 10.
On my host machine I have Ubuntu 17.04.

When I enter my guest machine, keys like the Super key and alt key are not grabbed so when I press the Super key, it opens the search menu in my host machine… And if I use Alt+Tab, it exits my guest machine window(and switches to another windows)..

I already have the "Auto Capture Keyboard" option on and I've also tried it with this option off..

By the way, it also happens when I'm controlling a remote computer with Teamviewer.. I guess it has something with it.

How can I fix this?

Thanks in advance.

Best Answer

  1. for the super key to work you need to press it twice - the first key press is caught by Ubuntu, the second one gets through to the guest OS.

  2. ALT+TAB might require the VM to be in full-screen mode