You are not logged in.
Hello,
I'm facing a problem. I'm using virt-manager with qemu to run vm (arch or ubuntu) but I can't get super key pass through the vm. Even when I am full screen, if I hit the super key, I get the gnome menu of the host instead of the OS in VM.
any solution ?
Thanks a lot.
Offline
nobody ?
Offline
nobody ?
Offline
Sorry, I had not seen this rule. I'll be patient ! :-)
Offline
I cannot reproduce the behaviour you are seeing. I also use Gnome and virt-manager and the super/windows key opens the start menu of the guest VM (Win2012r2), if the mouse is inside the guest VM window.
Offline
Could it be related to specific computer ? I'm using Lenovo T420.
Should I install specific package ?
When I install virt-manager I did those steps below, am I missing something ?
1- Installing virt-manager
# sudo pacman -Sy virt-manager
2- Enable NAT/DHCP networking
# sudo pacman -Sy ebtables dnsmasq
3- Enable deamon at power-up
# sudo systemctl enable libvirtd
4- Create KVM group to allow user to use virt-manager without prompting password.
# sudo groupadd kvm
# sudo usermod -aG kvm $USER
5- To use QEMU
# sudo pacman -Sy qemu
To enable it in virt-manager :
- Open virt-manager
- File -> Add connection
- On hypervisor filed, select "QEMU/KVM"
- Select "Autoreconnect"
6- To resolve "could not access KVM kernel module: Permission denied failed to initialize KVM: Permission denied'"
# sed -i '/group=/c\group=\"kvm\"' /etc/libvirt/qemu.conf
Offline
1- Installing virt-manager
# sudo pacman -Sy virt-manager
Partial upgrades are unsupported
Maybe some packages are outdated? Try to upgrade your system with
pacman -Syu
I still cannot reproduce your original problem with the super key catched by the host. I even tried switching between SPICE and VNC in the VM configuration, makes no difference...
EDIT: I can reproduce it now: If I use a Gnome wayland session (the "default"), the Super key is not passed through to the VM. If using Gnome on Xorg, the Super key is passed through to the VM. Interesting.
EDIT2: This is the upstream bug report
Last edited by demaio (2017-07-17 10:57:28)
Offline
Hello,
Thanks for helping me. I'll try to do not partially upgrade the system next time !
I'm not very familiar with wayland. I've seen today an upgrade to wayland-protocols 1.9.1 and when I look at the release note, I can see :
Version 1.9 introduced two new unstable protocols:
- Keyboard shortcut inhibitation - a protocol meant for making it possible for
virtual machine viewers, remote desktop clients etc, to be able to forward
keyboard combinations such as Alt-Tab etc.
So, as it is unstable, it could not works well, but is there a way to enable this feature ? As gnome comes with wayland by default, I would prefer stay with it.
Offline
Hello,
I'm running gnome unstable and I confirm that support for keyboard combination forwarding has been added to the latest versions of gnome-shell and gnome-boxes under Wayland. ( Alt-Tab and Alt-F4 is working like for Xorg version)
Unfortunately, super key still opens shell overview. I don't know if there will be support for it later or this is a design choice.
Offline