macOS-Simple-KVM icon indicating copy to clipboard operation
macOS-Simple-KVM copied to clipboard

Catalina mouse issue on Qemu

Open lattice0 opened this issue 5 years ago • 11 comments

On Ubuntu 19, I had to change, in basic.sh,

-usb -device usb-kbd -device usb-mouse \

to

-usb -device usb-kbd -device usb-tablet \

otherwise my mouse would skip out of the window on wrong places (like in the almost middle of it)

lattice0 avatar Feb 25 '20 04:02 lattice0

Any other suggestions? When I switch to usb-tablet, I cant use my mouse at all but I'm having the same issue when using usb-mouse. This is under Fedora 31.

Edit: This seems to be an upstream bug in qemu with wayland.

jhoward321 avatar Mar 25 '20 14:03 jhoward321

I had this same issue on (fully updated) Arch Linux with macos High Sierra. Thanks so much for this tip lucaszanella, this fixes the mouse getting stuck on random spots on the desktop.

brandflake11 avatar Mar 30 '20 17:03 brandflake11

Worked for me too, thanks!

aspiers avatar Apr 21 '20 12:04 aspiers

I also had to do this with Mojave. This also makes QEMU aware of when the mouse reaches the edge of the guest OS and automatically releases control of the mouse at that boundary. This should be the default :+1:

usrbinsam avatar Apr 23 '20 06:04 usrbinsam

I'd switch from mouse to USB tablet input (it seems supported, tried also natively on my XPS touch screen working), should require a small template change.

kowalski7cc avatar May 03 '20 15:05 kowalski7cc

Works for me on Ubuntu 20. Many thanks !

Arnwaltur avatar Aug 29 '20 12:08 Arnwaltur

Works great on Ubuntu 20. Thank you~

houcheng avatar Sep 23 '20 04:09 houcheng

This solution also applies when using Virt Manager. You need to remove the default USB mouse, and add an EvTouch USB Graphics Tablet device.

JonathanHolvey avatar Nov 15 '20 03:11 JonathanHolvey

My mouse doesn't work at all as usb-mouse or usb-tablet. I am on Ubuntu 20.0.4 running mate desktop. The keyboard is responsive but the mouse pointer shows black on the clover screen but doesn't move when I click in the window. I also tried mojave with the same stuck mouse pointer results. There was a comment somewhere about a usb bios setting. Mine was set for legacy support and I changed that as well with no effect.

Turns out that the mouse doesn't work on the first screen only. You need to use the arrow keys on the keyboard to get the focus on the large square in the middle. Press enter. I think that the usb-tablet also applies for subsequent screens.

rhildred avatar Jan 10 '21 20:01 rhildred

This solution also applies when using Virt Manager. You need to remove the default USB mouse, and add an EvTouch USB Graphics Tablet device.

This solution worked for me! Thanks a bunch :)

aupr avatar Jan 26 '22 13:01 aupr

I'm downloading this on Arch... The process is going on if I write those commands using a new tab of konsole will it be fixed? or I've to reinstall it after edited the file??

SoumyaOk4-4 avatar Mar 29 '23 05:03 SoumyaOk4-4