Are the keystrokes under guest Ubuntu via Virtualbox supposed to be the same in a Ubuntu

keyboardunixvirtualbox

I installed Ubuntu via virtualbox under Mac OS.

My keyboard-shortcut experiences with guest Ubuntu until recently were the same as mine with Ubuntu installed directly on a computer.
For example, text copy can be done by ctrl-C, instead of Command-C.

Yesterday, I found that right-clicking by tapping the right region of the trackpad in the guest Ubuntu doesn't work, while two-finger tapping does work like right-clicking in PC.

My solution was to change the trackpad setting under system preferences of Mac OS, from two-finger tapping to right-region single-finger tapping.
So the solution seems to tell me that right-clicking under guest Ubuntu is the same as that in host Mac OS. This is contrary with my previous impression that keyboard shortcuts in guest Ubuntu are almost the same as those in Ubuntu installed directly on a computer. So why is right clicking treated differently?

Thanks.

Best Answer

The multitouch events are handled exclusively by OS X and not passed through to the guest OS. Basically, the focus that keyboard and pointer have passes faithfully to the VM. Focus for the trackpad is filtered and not passed.