LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-18-2016, 04:06 AM   #1
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Mouse cursor in KVM guest


Hi,

I just installed a series of Slackware KVM guests, some of them booting to runlevel 4. Everything works fine, but mouse movement is a bit jerky.

Anyone knows how to fine-tune that?
 
Old 03-18-2016, 04:18 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8087Reputation: 8087Reputation: 8087Reputation: 8087Reputation: 8087Reputation: 8087Reputation: 8087Reputation: 8087Reputation: 8087Reputation: 8087Reputation: 8087
Add " -usb -usbdevice tablet" to your qemu commandline. You will get a properly working mouse in your guests without any re-configuration of your guests. The host's mouse position will be used in the guest even without having to click inside the window to give it focus.
 
4 members found this post helpful.
Old 03-18-2016, 07:37 PM   #3
Gerardo Zamudio
Member
 
Registered: Jan 2011
Distribution: Slackware
Posts: 128

Rep: Reputation: 111Reputation: 111
You're using virt-manager, right? The equivalent for that is to open up the virtual machine details > Add Hardware > Input > EvTouch USB Graphics Tablet. I always select "USB Connected Mouse" during the Slackware install for the mouse type but I don't think it matters.
 
4 members found this post helpful.
Old 03-23-2016, 01:52 PM   #4
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by Gerardo Zamudio View Post
You're using virt-manager, right? The equivalent for that is to open up the virtual machine details > Add Hardware > Input > EvTouch USB Graphics Tablet. I always select "USB Connected Mouse" during the Slackware install for the mouse type but I don't think it matters.
Thanks very much. That did the trick.

Cheers,

Niki
 
Old 12-07-2020, 12:10 PM   #5
SkarmoutsosV
LQ Newbie
 
Registered: Aug 2012
Location: Lagkadikia, Greece
Distribution: Debian testing
Posts: 27

Rep: Reputation: 10
Few years later and having about the same problem, the SOLVED flag of this thread gave me the confidence that a solution is feasible.

So, after some lucky thought, I changed my VM's screen resolution to mach the host screen resolution and the offset mouse behavior was gone.

Than you for the inspiration.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Presenting logical volume from host to KVM guest. Partition within guest? batfastad Linux - Server 2 07-27-2015 03:53 PM
KVM guest no VNC mouse input smccloud Linux - Virtualization and Cloud 0 07-10-2012 03:14 PM
LXer: Set up Spicevmc Channel on Ubuntu 11.04 as KVM Server and spice-vdagent as a KVM guest LXer Syndicated Linux News 0 06-15-2011 07:10 PM
KVM with Ubuntu guest - guest crashes when some apps are 'full screened' TonyRogers Linux - Virtualization and Cloud 0 05-15-2011 12:18 PM
KVM: Mouse under Windows Guest performs way better than under Centos Guest martdj Linux - Virtualization and Cloud 3 03-29-2010 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration