Fix For VirtualBox 5.1.x Focus Issues On GNOME Desktops (Not Being Able To Move VM Windows In GNOME Shell, Clicking On Indicators In Unity)

If you use VirtualBox 5.1.x with a GNOME desktop (GNOME Shell, Unity and possibly other GTK-based desktops as well), you may have noticed that there are some focus-related issues:

  • in GNOME Shell (host), virtual machine windows can’t be moved unless clicking on another window, then moving the virtual machine window;
  • in GNOME Shell (host), the Activities Overview can’t be accessed if a virtual machine is focused;
  • in Unity (host), clicking on an indicator while a virtual machine is focused results in the indicator menus not being displayed.

Here’s a screenshot showing what happens in Unity when indicators are clicked while a VirtualBox 5.1.x virtual machine is focused:

VirtualBox indicators focus bug Unity

I’m not sure if this issue is related to a specific GTK or Qt (VirtualBox 5.1.x uses Qt5) version. It occurs on my laptop running Ubuntu 16.10 (64bit), but other Ubuntu flavors as well as other Linux distributions might be affected as well.
The fix / workaround for the VirtualBox focus issue is very simple. All you have to do is open the VirtualBox preferences (File > Preferences) and on the “Input” tab, disable the “Auto Capture Keyboard” option:

VirtualBox Input Preferences


The workaround mentioned above has a drawback though: some keyboard shortcuts will not work in the guest virtual machine while the “Auto Capture Keyboard” option is disabled. For example, using Ctrl + Alt + T to open a new terminal window won’t work in the guest virtual machine. Other shortcuts, such as Ctrl + C, Ctrl + Shift + C, etc. will continue to work though.

from Web Upd8 – Ubuntu / Linux blog http://ift.tt/2mEW3ns
via IFTTT

via Blogger http://ift.tt/2n39jDo

Advertisements

About ishubhamsingh

Hello TechGeeks!! I am Shubham Singh -a student,a mistakemaker,a learner,a TechGeek like you,who wants to share all that i know about softwares,cracks,keygens and general computer tweaks & tricks with you through this blog.

Posted on March 9, 2017, in IFTTT, Web Upd8 - Ubuntu / Linux blog and tagged , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: