-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global Shortcut support on Wayland #28
Comments
There is now a desktop portal for this flatpak/xdg-desktop-portal#711 Draft implementation in KDE: Gnome and wlroots only have tracking issues atm: |
|
There is a bit of restructuring here, as well as basic support for global hot keys. I have only tested it on Windows 11. It should in theory work on most "modern" versions of Windows, and Linux with X11, as well as possibly MacOS. I don't have a Mac to test, and I haven't tested it on X11 yet. Wayland support is waiting on this bug to be resolved before it will work: tauri-apps/global-hotkey#28
I have looked into implementing this with intention to upstream it but, unfortunately, it doesn't seem like a good idea to implement Here's how GlobalShortcuts portal works:
Taking all this into account, for application developers, I think, it would be more reasonable to implement global shortcuts for wayland using separate crate like ashpd given how big the difference in API is |
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.
The text was updated successfully, but these errors were encountered: