Mouse integration and XTest
Posted: 25. Jun 2010, 13:01
I've been finding that mouse integration appears to unpredictably interfere with the XTest extension for X11 (allows faking mouse-button events and mouse movement; xdotool uses it). On some of my VMs, trying to fake button events other than button 1 results in an X11 error claiming that the button doesn't exist. On others it works. On some VMs, including one where button events work, faking mouse movement doesn't. XTest works just fine if I turn mouse integration off.
Easiest way to verify is to install xdotool if you don't already have it and then try
xdotool mousedown 3 mouseup 3
which should simulate a right click. Then try
xdotool mousemove 500 500
which should move the pointer to (500,500) on the screen.
I'm using 3.2.4 r62467 on an XP host with various Linux guests.
Easiest way to verify is to install xdotool if you don't already have it and then try
xdotool mousedown 3 mouseup 3
which should simulate a right click. Then try
xdotool mousemove 500 500
which should move the pointer to (500,500) on the screen.
I'm using 3.2.4 r62467 on an XP host with various Linux guests.