Keystrokes are not grabbed by VirtualBox on guest machine

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.

4

5 Answers

  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

1

Virtualbox doesn't capture certian modifier key combinations. However, there is a built in alternative.

At the top of the VM window, there is a tab marked "input". Under the keyboard menu is a list of key strokes for the modifiers. Most involve holding the "host key". On my machine the host key is Right ctrl

2

Solution: In my Laptop the Fn + Windows key combination does the trick and it is captured by the virtual machine

1

My Dell Latitude E7450 has Ubuntu 17.10 as the host with a Windows 10 guest in VirtualBox (version 5.1.34). I experience similar issues as @Ben (alt + tab not working in the guest).

Solution: windows key + alt + tab cycles through the open programs (i.e., what I expect alt + tab to do).

Not sure how to get the windows key to bring up the start menu.

My problem was very specific. I'm not sure what was not good, probably something with the installation.. However, when I have reinstalled my host OS, it worked. Now it is working normally..

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like