-
Notifications
You must be signed in to change notification settings - Fork 31
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
Wayland doesn't support Global Shortcuts and panics #3
Comments
Unable to register global shortcut - can you try modifying the shortcut? make it something like Might want to pull main first as this is way easier now with the |
attempted fix: c12e6a1 @manuel-minniti - lmk if fixed! |
Thanks for the quick reply, I'll let you know! |
Still getting the same error unfortunately.
Is there a way to get a more verbose error message? |
You can run with Are you running Wayland? If so... tauri-apps/global-hotkey#28 |
Alright. I think we'll need to figure out a workaround for Wayland... as tauri doesn't support it yet for global shortcuts and it causes a panic. |
Every hotkey library I've found does not support Wayland. Also found this- relatively interesting https://gist.github.com/probonopd/9feb7c20257af5dd915e3a9f2d1f2277 Next best thing seems like manually parsing the accelerator and monitoring "pressed_keys" for the shortcut we're looking for |
I managed to get a basic environment running on NixOS (nix 2.13.6).
System info
I simply put my nix-shell (see below) into the project directory and ran
nix-shell
.Problem
Running
bun run tauri build
:Running
bun run tauri dev
:Example nix-shell
The text was updated successfully, but these errors were encountered: