elementary / elementary/portals

Implement GlobalShortcuts portal

Open
#185 0 comments 0 reactions 0 assignees View on GitHub
Needs Design Priority: Wishlist
Dominant language
Vala
Stars
24
Forks
7
PR merge metrics
No merged PRs in 30d

Description

### Problem

Applications like Chrome[^1] and Electron apps[^2] (and others) use the GlobalShortcuts desktop portal to implement global shortcuts under Wayland, allowing apps to provide keyboard shortcuts when they do not have focus. Elementary OS does not support this.

[^1]: https://chromium-review.googlesource.com/c/chromium/src/+/5871484
[^2]: https://github.com/electron/electron/pull/45171

### Proposal

Implement https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.impl.portal.GlobalShortcuts.html

### Prior Art (Optional)

* GNOME: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/merge_requests/208
* KDE: https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/80

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.