An easy way to solve stuck mouse problem #647

Open
opened 2025-12-29 01:24:11 +01:00 by adam · 2 comments
Owner

Originally created by @Uoghluvm on GitHub (Mar 18, 2025).

JUST SET YOUR ABSOLUTE MOUSE IN QEMU

commands to do this:

  1. info mice
    then the return may look like this:
    Mouse #4: QEMU HID Tablet (absolute)
    * Mouse #2: QEMU PS/2 Mouse
  2. set the mouse with (absolute)
    mine is mouse_set 4

DONE
Enjoy the smooth cursor!

Originally created by @Uoghluvm on GitHub (Mar 18, 2025). **JUST SET YOUR ABSOLUTE MOUSE IN QEMU** commands to do this: 1. `info mice` then the return may look like this: ` Mouse #4: QEMU HID Tablet (absolute)` `* Mouse #2: QEMU PS/2 Mouse` 2. set the mouse with `(absolute)` mine is `mouse_set 4` DONE Enjoy the smooth cursor!
Author
Owner

@callmesoul commented on GitHub (Apr 10, 2025):

how to set?

@callmesoul commented on GitHub (Apr 10, 2025): how to set?
Author
Owner

@gnubash commented on GitHub (Jun 30, 2025):

For anyone else wondering how to do it. Assuming you run Docker-OSX from terminal like this

    --device /dev/kvm \
    -p 50922:10022 \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e "DISPLAY=${DISPLAY:-:0.0}" \
    -e SHORTNAME=catalina \
    -e RAM=7 \
    sickcodes/docker-osx:latest

When the QEMU window shows you just press Enter in the terminal and you should be in the QEMU command prompt indicated by

(qemu) and a cursor next to it. Type in
info mice
you will get the available mouse and their ID. mouse_set 4 is a command from QEMU console with parameter 4.

@gnubash commented on GitHub (Jun 30, 2025): For anyone else wondering how to do it. Assuming you run Docker-OSX from terminal like this ```docker run -it \ --device /dev/kvm \ -p 50922:10022 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -e SHORTNAME=catalina \ -e RAM=7 \ sickcodes/docker-osx:latest ``` When the QEMU window shows you just press Enter in the terminal and you should be in the QEMU command prompt indicated by ```(qemu)``` and a cursor next to it. Type in ```info mice``` you will get the available mouse and their ID. ```mouse_set 4``` is a command from QEMU console with parameter 4.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#647