qemu virtual machine send desktop switching command to host

2

I would like to set up qemu/virt-manager/spice so that I can run a VM full-screen on its own KDE virtual desktop. I have ctrl-alt-{up,down} set up as desktop switching shortcuts, but I need a way to tell the full-screen virt-manager GUI to send these keyboard commands to the host instead of the guest. Is this possible and how would I go about it?

rubenvb

Posted 2015-07-10T08:03:45.787

Reputation: 384

There's a bug report.

– Hi-Angel – 2016-10-17T11:04:01.540

Answers

1

Here are the steps that worked for me:

Open "Virtual Machine manager" → Edit → Preferences. Go to "Console" tab and click the "Change" button next to the "Grab keys". Choose any key you like to and at the same time click "OK". Please note that it requires guest restart.

In my case I chose Ctrl. So, when I have my guest open in full-screen mode, for example in workspace 2 and I want to switch to workspace 1 (Host) I just click Ctrl and then key combination for workspace change (in my case Ctrl + Alt + "). So basically it's a double Ctrl and a single Alt + (Ctrl + Ctrl + Alt + ).

3nk1

Posted 2015-07-10T08:03:45.787

Reputation: 26