Skip to content
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-hotkey lacks support for wayland compositors and panics on startup when attempting to register the hotkey #15

Open
miawgogo opened this issue Dec 18, 2023 · 1 comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file help wanted Extra attention is needed linux

Comments

@miawgogo
Copy link

miawgogo commented Dec 18, 2023

Cannot get default EGL display: EGL_BAD_PARAMETER
WaylandCompositor requires eglCreateImage and eglDestroyImage.
Nested Wayland compositor could not initialize EGL
thread 'main' panicked at src/main.rs:278:18:
failed to register Alt+A shortcut: GlobalShortcut(InvalidAccelerator("Unable to register global shortcut"))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I feel like it would be better to note this app only supports x11 or allow the registration to fail and just run without shortcut support.

a proper fix has to wait untill Tauri fixes this issue tauri-apps/global-hotkey#28

@timmo001 timmo001 added dependencies Pull requests that update a dependency file bug Something isn't working labels Dec 18, 2023
@timmo001 timmo001 added the help wanted Extra attention is needed label Dec 25, 2023
@timmo001 timmo001 added the linux label Jan 3, 2024
@GrumpyMeow
Copy link

On my KDE desktop i get this error:

thread 'main' panicked at src/main.rs:292:18:
failed to register Alt+A shortcut: GlobalShortcut(InvalidAccelerator("Unable to register global shortcut"))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

When i run it with sudo home-assistant-assist, it does work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file help wanted Extra attention is needed linux
Projects
None yet
Development

No branches or pull requests

3 participants