qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shortcuts are not intercepted by QEMU guest


From: Dmitrii Bundin
Subject: Shortcuts are not intercepted by QEMU guest
Date: Sun, 14 Nov 2021 11:55:56 +0300

I have problems with sending shortcuts to the Ubuntu guest. Like Alt +
Tab, Ctrl + Alt + T, Alt + F4, etc... It's sent to the host instead
even though the QEMU window is active. Is there a way to
change/configure such behavior?

For example Alt + F4 closes the guest itself, not the active guest
window which is counter-intuitive.
Here is how I use QEMU:

I compiled and installed qemu-6.1.0 as specified in the instruction
https://www.qemu.org/download/:

wget https://download.qemu.org/qemu-6.1.0.tar.xz
tar xvJf qemu-6.1.0.tar.xz
cd qemu-6.1.0
./configure
make -j8

Then I created image as

qemu-img create ubuntu.img 30G

and then installed Ubuntu 20.04.3 using official Ubuntu ISO running it as

sudo qemu-system-x86_64 -cpu host -enable-kvm -boot d -cdrom
Downloads/ubuntu-20.04.3-desktop-amd64.iso -m 8G ubuntu.img

running the guest as

sudo qemu-system-x86_64 -cpu host -enable-kvm -m 8G ubuntu.img

reproduces such shortcuts behavior.

--

Regards,
Dmitrii



reply via email to

[Prev in Thread] Current Thread [Next in Thread]