On KDE Plasma (Wayland), every time you open Google Chrome (or Chromium) you get a permission prompt along the lines of:
"An application wants to use global shortcuts" / "Global Shortcuts Requested"
You click Allow, but the prompt comes back the next time you launch Chrome. It never sticks.
On Wayland, applications register global keyboard shortcuts through the xdg-desktop-portal GlobalShortcuts interface instead of grabbing keys directly. Chrome uses this to bind your keyboard's hardware media keys (play / pause / next) to whatever is playing in a tab.
KDE's prompt is supposed to remember the grant in ~/.config/kglobalshortcutsrc. The problem is that Chrome registers its shortcuts under inconsistent component names between launches (e.g. com.google.Chrome, google-chrome, and per-profile IDs like chrome-<hash>-Profile_1). Because the stored grant is keyed by component name, KDE doesn't match the new registration to the previous grant — so it asks again.
You can confirm the duplicate registrations on your own machine:
grep -niE 'chrome|chromium' ~/.config/kglobalshortcutsrcTell Chrome to not use the GlobalShortcuts portal at all, with the launch flag:
--disable-features=GlobalShortcutsPortal
The robust way to apply it is via a local desktop-entry override so it survives Chrome updates (which overwrite /usr/share/applications/google-chrome.desktop).
cp /usr/share/applications/google-chrome.desktop ~/.local/share/applications/google-chrome.desktopOpen ~/.local/share/applications/google-chrome.desktop and edit each Exec= line. A typical file has three (main, new-window, incognito):
Exec=/usr/bin/google-chrome-stable --disable-features=GlobalShortcutsPortal %U
Exec=/usr/bin/google-chrome-stable --disable-features=GlobalShortcutsPortal
Exec=/usr/bin/google-chrome-stable --disable-features=GlobalShortcutsPortal --incognitoThe local file in
~/.local/share/applications/takes precedence over the system copy in/usr/share/applications/, and won't be clobbered by package updates.
update-desktop-database ~/.local/share/applicationsQuit Chrome completely (not just the window) and start it again from the application menu. The prompt should be gone.
- Pinned taskbar / launcher icons may have cached the old entry. If the prompt persists, remove and re-pin the Chrome icon so it resolves to the updated desktop entry.
- Launching from a terminal or script? Add the flag there too — the desktop-entry override only applies to launches that go through the
.desktopfile. - The only tradeoff: with the portal disabled, your keyboard's hardware media keys won't control Chrome's media when Chrome is in the background. In-page playback controls are unaffected. If you rely on background media keys, the alternative is to keep the portal enabled and instead clear the stale entries from
~/.config/kglobalshortcutsrc— but in practice that's the path that keeps re-prompting. - Fully reversible: just remove the flag from the
Exec=lines and re-runupdate-desktop-database.
- Ubuntu 25.10, KDE Plasma 6 (Wayland)
- Google Chrome 142
xdg-desktop-portal-kde6.4.5