GNOME Bugzilla – Bug 768959
Add a way to overcome keyboard shortcuts (needed for Keyboard panel in Control Center)
Last modified: 2017-10-04 14:26:18 UTC
Per IRC chat, this is needed in Wayland because Gtk+ grabs are not enough. Also per IRC discussion, this probably needs to be a private DBus API addition.
This could be a simple dbus method call in org.gnome.Shell like <method name="GetAccelerator"> <arg type="s" direction="out" /> </method> that just returns the next key combo in the standard shortcut string format we already use, bypassing mutter's existing keybindings. Obviously this should only be used by g-c-c but since we can't really limit DBus API access just yet, it needs to at least be appropriately rate limited, limited to a single client, etc.
That's shortcuts-inhibitor protocol, supported in gnome-3.26 *** This bug has been marked as a duplicate of bug 787568 ***