Ubuntu – cursor jumps when moving (and some other times)

12.10cursorflickermouse

i updated to 12.10 beta 1 when it was released (coming from 12.04 fresh install, i skipped the alpha releases of 12.10)

since then i've done all the usual updates but ive had an issue with my cursor jumping. it does not jump when typing, i've done a lot of searching and cant find an answer, it tends to happen most when i move the cursor
the jump is maybe 15-20 pixels down and to the right

it seems like a display issue because if i hover over a link or the x to close a window the cursor will settle in it's down/right position, but the whatever im hovering over will still act as if that's where the mouse is, and clicking still works on the item. so the mouse is actually in its original location, but it's displaying offset and flickering back and forth from its down/right position and its correct position

this makes use very difficult because the mouse is never displayed where it actually is and i have to estimate my clicks

any ideas?

Clarity: the issue I have is on a full install, not virtual box.

Best Answer

I use VirtualBox (4.2.4r81684) on a Windows 7 host, had ubuntu desktop 12.04 guest, upgraded to 12.10 recently, and experienced this mouse jumping you describe, even after updating guest additions.

This helped me out:

Long story short: this bug will be fixed eventually. You can either run these commands on EVERY boot (can put into a script in your .bash_profile, or something similar):

xinput set-prop "VirtualBox mouse integration" "Coordinate Transformation Matrix" 0.5 0 0 0 0.5 0 0 0 1.0
xinput set-prop "VirtualBox mouse integration" "Coordinate Transformation Matrix" 1.0 0 0 0 1.0 0 0 0 1.0

OR you can install the bug fix:

sudo apt-add-repository ppa:a7x/bug1041063
sudo apt-get update
sudo apt-get upgrade

I installed the fix, and am happy to say that the problem has been resolved for me.