How to send windows meta key combo to qemu

totalimpact

Renowned Member
Dec 12, 2010
142
23
83
I know sendkey works in monitor, but it appears our version does not have a method for sending the windows meta key. I see virsh offers a couple methods like:
virsh send-key KEY_LEFTMETA

I need to be able to send the window/d combo to show desktop on guest, and a couple other combos with the window key, how can this be done in pve?
 
Hi,
the windows-key was normal submitted during the console - check with "sendkey" (on linux).

You must "only" prevent the sending system to fetch the keystroke as command.

<windows>+u I can send from linux without trouble - with <windows>+w I trigger an hotkey.

Udo
 
The code is meta_l or meta_r, sending win + r to the vm over the qemu monitor is performed with the command sendkey meta_l-r.