When I launch virt-manager (the same is with virt-viewer) in Ubuntu 24.04 (with Wayland), it opens a dialogue:
Virtual Machine Manager wants to inhibit shortcuts. You can restore shortcuts by pressing Super+Escape.
Deny? Allow?
I click Allow, however, I would like to be this automatic (always granted).
Some people suggested I should grant gnome shortcuts-inhibitor permission with flatpak command, HOWEVER, my virt-manager is installed as a DEB package.
I also tried to use export GTK_USE_PORTAL=0 (in bash), but is still the same.
Does anyone knows a solution for this? I opened a bug/raised a question at various bug trackers (virt-manager’s gnome’s,…) but could get no help. It seems a Gnome/Wayland issue…
I did this (for virt-viewer), and it is still the same. Actually, I made a mistake, I want to use virt-viewer, I launch it as startup app to automatically run the virtual machine.