[doc] add GNOME Wayland keyboard shortcuts troubleshooting

Document the GNOME permission system for keyboard shortcuts inhibitor
protocol. GNOME stores permissions in flatpak's database even for
non-flatpak applications, which can silently block capture mode.
This commit is contained in:
Jérôme Poulin authored and Geoffrey McRae committed 2025-11-28 10:57:48 +11:00
1 parent 3efe47ffb2
commit 0983e50f4d
2 files changed
+28

No files matched your search

+27
View File
@@ -42,3 +42,30 @@ The clipboard is not working
- The Spice VDAgent is available in both Spice Guest Tools, and
standalone as a separate installer. Check your installed programs
and uninstall the VDAgent if it's installed separately.
.. _keyboard_shortcuts_not_captured_on_gnome_wayland:
Keyboard shortcuts are not captured on GNOME Wayland
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Capture mode may fail to capture compositor shortcuts like
ALT+Tab or ALT+Middle Mouse - they go to GNOME instead of the guest VM.
When Looking Glass first requests to inhibit shortcuts, GNOME shows a
dialog asking for permission. If you clicked "Deny" (or dismissed the dialog),
GNOME permanently blocks the application and never shows the dialog again.
Use the ``flatpak`` command to view or grant the permission, this works even
if LookingGlass is not a Flatpak application, as GNOME stores these permissions
in Flatpak's database:
.. code:: bash
flatpak permission-set gnome shortcuts-inhibitor looking-glass-client.desktop GRANTED
To verify the permission was set:
.. code:: bash
flatpak permissions gnome shortcuts-inhibitor
+1
View File
@@ -21,6 +21,7 @@ downsampling
downscaler
downscaling
evdev
Flatpak
framebuffer
fullscreen
gcc