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

[Wayland] Works only with Electron (or web) apps #23

Open
anton2007 opened this issue Sep 1, 2022 · 3 comments · May be fixed by #37
Open

[Wayland] Works only with Electron (or web) apps #23

anton2007 opened this issue Sep 1, 2022 · 3 comments · May be fixed by #37

Comments

@anton2007
Copy link

Hello! I tried Rustyvibes on Arch Linux with Wayland (SwayWM) and for first time when I ran in terminal (of course after compiling from source code) I thought sound doesn't work, but when I switched to Discord window I heard sounds.
I just didn't hear anything in terminal, I heard sounds only in Discord window.

@somebody1234
Copy link

i think this is a problem with the upstream rdev crate, not sure if there's a good solution (other than writing wayland support from scratch)

@SerJaimeLannister
Copy link

hey any updates on this?

@sahaj-b
Copy link

sahaj-b commented Nov 17, 2024

i think this is a problem with the upstream rdev crate, not sure if there's a good solution

rdev have an unstable_grab feature which uses evdev library to get events. It would work on wayland but user needs to be in the input group.

(other than writing wayland support from scratch)

Check out wayvibes, this also uses evdev to get global keypresses

@sahaj-b sahaj-b linked a pull request Nov 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants