this post was submitted on 17 Jul 2023
14 points (100.0% liked)

Linux

1258 readers
93 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hello! I use virt-manager as frontend for KVM, and I'd like to set the mouse movement mode to "absolute", that should fix weird mouse problems in the VM for certains applications (games at most: minecraft mouse lock does not work with the default setting). If I go into the VM settings, under "Mouse", I get:

Virtual Input Device
Type: PS/2 Mouse
Mode: Relative Movement

with no options to change these settings. This is the XML:

<input type="mouse" bus="ps2"/>

can I set this without editing XML? If not, how can I modify the XML to get this work?

thanks in advance!

EDIT: I solved by going in the VM settings > add hardware > input > USB mouse

you are viewing a single comment's thread
view the rest of the comments
[–] ReakDuck@lemmy.ml 1 points 1 year ago (1 children)

I think that KVM has nothing to do with absolute or flat mouse input, the OS is deciding afaik

[–] tubbadu@lemmy.kde.social 1 points 1 year ago (1 children)

uhm so the setting should be inside the OS installed in the VM?

[–] ReakDuck@lemmy.ml 1 points 1 year ago (1 children)

I assume, yes. Otherwise it wouldn't make sense. KVM just passes the mouse as is afaik. I am no expert but I just my daily life logic to it. Maybe i am completely wrong.

The only use case I have for KVM Qemu is to passthrough my whole USB PCI from mainboard and GPU and play VR on a VM.

[–] tubbadu@lemmy.kde.social 2 points 1 year ago (1 children)

enabling the passthrough of the USB mouse fixed my problem! thanks!

[–] ReakDuck@lemmy.ml 2 points 1 year ago

Well, then maybe it was some weird mouse emulation thing. Now I wonder if it actually has flat/adaptive mode or if its just too laggy/weird.