Open wusyong opened 2 years ago
There is now a desktop portal for this https://github.com/flatpak/xdg-desktop-portal/pull/711
Draft implementation in KDE: https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/80 https://invent.kde.org/libraries/xdg-portal-test-kde/-/merge_requests/6
Gnome and wlroots only have tracking issues atm: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/47 https://github.com/emersion/xdg-desktop-portal-wlr/issues/240
org.freedesktop.portal.GlobalShortcuts
has gained widespread support; all that is needed is for someone to write the D-Bus communication.
Global Shortcut on Linux only works on x11 because wayland-protocols hasn't define anything yet. There's a RFC about this. While we can use some workaround or implement one our own, it won't be supported by all DEs. We'll have to wait wayland decide to add this.