LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 04-13-2020, 12:24 PM   #1
caibbor
LQ Newbie
 
Registered: Dec 2009
Posts: 27

Rep: Reputation: 0
virt-manager, how to capture mouse?


This should be a simple solution, but everything I'm finding via google is for the opposite (how to STOP capturing the mouse). I want to capture the mouse, and I don't see any option or key combo to do so.

Any suggestions?
 
Old 04-13-2020, 01:58 PM   #2
caibbor
LQ Newbie
 
Registered: Dec 2009
Posts: 27

Original Poster
Rep: Reputation: 0
Looks like I had to remove the "tablet" device, either from virt-manager's hardware section of the VM, or by removing this section using virsh edit:

Code:
    <input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='1'/>
    </input>
Then the VM would capture the mouse (and left CTRL+ALT to release)
 
Old 11-27-2020, 03:05 PM   #3
NeptuNZcz
LQ Newbie
 
Registered: Jul 2009
Location: Czech Republic
Distribution: Ubuntu
Posts: 1

Rep: Reputation: 0
Thanks, I had the same issue and this helped me - removing Tablet device from list of devices of the virtual machine definition.

However, I searched for this answer about cca 3 hours using different english phrases. So, to help others, I include other question formulations I unsuccessfully used asking uncle Google:

How to grab pointer in libvirt?
How to lock mouse inside virtual machine of libvirt?
How to cap mouse using Spice Guest Agent?
How to trap mouse in QEMU using virt-manager?

Disable "Tablet" device in VM definition.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] installing virt-manager and virt-viewer on desktop for managing remote server yvesjv Slackware 4 04-24-2019 03:00 PM
Virsh/Virt-Manager/Virt-Install broken after upgrade to Xubuntu 17.10 Zabzoo Linux - Desktop 2 02-01-2018 08:05 AM
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 02:50 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 (2.6.32.10 pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 09:41 PM
Debian 5.0 Network-Manager interfers with vnet0 bridging to eth0 for virt-manager coolphive Linux - Newbie 2 05-28-2009 08:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 11:18 PM.

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