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

Not working with wayland #16

Open
dadav opened this issue Oct 2, 2023 · 11 comments
Open

Not working with wayland #16

dadav opened this issue Oct 2, 2023 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@dadav
Copy link

dadav commented Oct 2, 2023

Describe the bug

It's not working with kitty 0.29.2 /wayland.

If I enable verbose mode, I can't see any keys pressed in the kitty terminal. When I use e.g. urxvt, it works.

To reproduce

Steps to reproduce the behavior:

  1. Install daktilo with pacman
  2. Start daktilo
  3. Start kitty terminal
  4. Type something into the terminal
  5. Hear nothing

Expected behavior

Hearing some typing sounds.

Software information

  • Operating system: Arch GNU/Linux x86_64 6.5.4-arch2-1
  • Terminal: kitty 0.29.2
  • Display-Server: wayland
@dadav dadav added the bug Something isn't working label Oct 2, 2023
@dadav
Copy link
Author

dadav commented Oct 2, 2023

Probably rdev is the reason. See https://docs.rs/rdev/latest/rdev/#linux. Wayland is not supported.

@dadav dadav changed the title Not working with kitty terminal Not working with wayland Oct 3, 2023
@orhun
Copy link
Owner

orhun commented Oct 3, 2023

Yup, exactly.

Noted this in README.md in 064c8ed

@dadav dadav closed this as completed Oct 6, 2023
@orhun orhun reopened this Oct 6, 2023
@orhun
Copy link
Owner

orhun commented Oct 6, 2023

I will look into possible solutions to support Wayland soon.

@mochaaP
Copy link

mochaaP commented Oct 6, 2023

It's possible to implement a bridge listening to libinput events in a privileged context (e.g. using pkexec) and send it to the main process in the user session.

https://github.com/AlynxZhou/showmethekey/tree/master/showmethekey-cli

@Xenira
Copy link
Contributor

Xenira commented Nov 4, 2023

Any progress on this? I am currently migrating from x11 to wayland.

Might be able to look into this.

@orhun
Copy link
Owner

orhun commented Nov 4, 2023

Not really, I haven't had the chance to look into it so feel free!

@orhun
Copy link
Owner

orhun commented Nov 4, 2023

Btw, out of curiosity which WM/DE are you going to use on Wayland?

@Xenira
Copy link
Contributor

Xenira commented Nov 4, 2023

Used some KDE Plasma but in the progress of switching to Hyprland.

@Xenira
Copy link
Contributor

Xenira commented Nov 4, 2023

Btw there is currently this Narsil/rdev#116 issue. Describing the same solution as @mochaaP did.

@orhun
Copy link
Owner

orhun commented Nov 5, 2023

Then I'd say it makes more sense to contribute this feature to rdev directly.

@ibrahimkettaneh
Copy link

For BuckleSpring, you can run it using the command sudo -E -u root buckle to keep the current user's environment intact. Have you managed to get rdev working on your Wayland system? Currently, I am utilising Hyprland and BuckleSpring concurrently, and I find the typewriter sound quite charming.
I would also be interested in trying out Daktlilo. Any assistance would be highly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants