Ubuntu – Touchscreen support for Ubuntu in VirtualBox

touchscreenvirtualbox

I have seen the news about VirtualBox adding touchscreen support.

But it seems like this was targeted mainly at Windows 8.

There is also a thread over at the Virtual Box forums describing the same problems I am having.

Mainly, that my Ubuntu Guest (on a Ubuntu Host) does not recognize taps, but merely moves the cursor to the place I tapped on the screen. This is with mouse integration enabled.

With mouse integration disabled the tapping is recognized, but the cursor has an offset, that seems to depend on the position of the host cursor, when clicking into the window and then only evaluates the motion (direction, acceleration) of the finger and not the actual position on the screen.

Is there a problem with VirtualBox, or maybe with the drivers on my host Ubuntu 14.04.1 machine?

Best Answer

i have a dell laptop and it presents the touchscreen as a usb device.

If you want the guest to use the touchscreen device you will need to pass it through to the guest and run the appropriate drivers in the guest.

In the case of ubuntu then xorg should pick it up.

You will need to configure your host os to ignore the touchscreen for this to work, they can't be shared.

Related Question