-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[Linux/GNOME] Add global hotkey support for quake mode on Wayland #10104
Copy link
Copy link
Closed
Labels
area:settings-keybindingsSettings UI, preferences, keybindings, and keyboard-shortcut management.Settings UI, preferences, keybindings, and keyboard-shortcut management.area:window-tabs-panesWindow, tab, pane, and workspace layout management.Window, tab, pane, and workspace layout management.enhancementNew feature or request.New feature or request.os:linuxLinux-specific behavior, regressions, or requests.Linux-specific behavior, regressions, or requests.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Metadata
Metadata
Assignees
Labels
area:settings-keybindingsSettings UI, preferences, keybindings, and keyboard-shortcut management.Settings UI, preferences, keybindings, and keyboard-shortcut management.area:window-tabs-panesWindow, tab, pane, and workspace layout management.Window, tab, pane, and workspace layout management.enhancementNew feature or request.New feature or request.os:linuxLinux-specific behavior, regressions, or requests.Linux-specific behavior, regressions, or requests.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Summary
Warp does not currently support a global hotkey for toggling quake mode on GNOME Wayland sessions. The setting exists in the UI but pressing the configured key from another window has no effect — the feature is simply not implemented for this platform.
This is a missing feature, not a regression. (I originally filed this as a bug; please relabel from
bugtoenhancement— I lack permission to do so myself.)Why It's Missing
Wayland's security model forbids applications from intercepting global keypresses through the X11-style
XGrabKeyAPI. Under Wayland, a global shortcut must be registered through the compositor. On GNOME this means going through the standard XDG portal:org.freedesktop.portal.GlobalShortcuts(available since GNOME 42, March 2022).Without this, every Linux user on a modern GNOME desktop (Ubuntu 22.04+, Fedora 36+, Debian 12+ — all default to Wayland) cannot use Warp's quake mode hotkey at all.
Desired Behaviour
org.freedesktop.portal.GlobalShortcutsportal.Acceptance Criteria
Prior Art
Environment