We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Shortcuts doesn't work on Linux (Ubuntu)
I'm trying to register global shortcut
await registerAll(["Shift+I"], () => { //some code });
On frontend i get rejected promise
Unhandled Promise Rejection: Unable to register global shortcut
On mac os everything works fine.
No response
[✘] Environment - OS: Ubuntu 22.04 X64 ✔️ webkit2gtk-4.0: 2.40.5 ✘ rsvg2: not installed Visit https://tauri.app/v1/guides/getting-started/prerequisites to learn more about tauri prerequisites ✔️ rustc: 1.72.0 (5680fa18f 2023-08-23) ✔️ Cargo: 1.72.0 (103a7ff2e 2023-08-15) ✔️ rustup: 1.26.0 (5af9b9484 2023-04-05) ✔️ Rust toolchain: stable-x86_64-unknown-linux-gnu (default) - node: 18.17.1 - yarn: 1.22.19 - npm: 9.6.7 [-] Packages - tauri [RUST]: 1.4.1 - tauri-build [RUST]: 1.4.0 - wry [RUST]: 0.24.3 - tao [RUST]: 0.16.2 - @tauri-apps/api [NPM]: 1.4.0 - @tauri-apps/cli [NPM]: 1.4.0 [-] App - build-type: bundle - CSP: unset - distDir: ../dist - devPath: http://localhost:1420/ - framework: React - bundler: Vite
The text was updated successfully, but these errors were encountered:
This could be related to #3578 since iirc ubuntu 22.04 uses wayland by default (in contrast to prior ubuntu versions that all defaulted to x11).
Can you check if it registers it fine on x11?
Sorry, something went wrong.
yea, on x11 shortcuts works
Alright, thanks. I'm closing this as a duplicate of #3578 then :)
No branches or pull requests
Shortcuts doesn't work on Linux (Ubuntu)
Reproduction
Describe the bug
I'm trying to register global shortcut
On frontend i get rejected promise
On mac os everything works fine.
Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: