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

feature request: wayland support #10

Open
saltedcoffii opened this issue Mar 18, 2022 · 5 comments
Open

feature request: wayland support #10

saltedcoffii opened this issue Mar 18, 2022 · 5 comments

Comments

@saltedcoffii
Copy link

Oneko currently only supports x11, as wayland didn't exist when it was first coded, however as many Linux systems move to prefer wayland, oneko lags behind.

@sludgeFudge
Copy link

Check out wayneko.

@IoIxD
Copy link

IoIxD commented Jan 3, 2025

This port only shows up on the desktop and does not follow the mouse. A real port is likely never going to happen as Wayland purposefully does not have APIs for getting the mouse position; KDE has its own APIs that I tried to use once but it's not usable via any compiled language (you have to use kwin scripting or whatever).

@Hion-V
Copy link

Hion-V commented Mar 8, 2025

Could this perhaps be achieved using libei?

@IoIxD
Copy link

IoIxD commented Mar 11, 2025

Do the major Wayland compositors (KDE, Gnome, Sway, etc). support that?

@Hion-V
Copy link

Hion-V commented Mar 11, 2025

Do the major Wayland compositors (KDE, Gnome, Sway, etc). support that?

It appears so. There's a piece of commercial software called synergy that uses libei and libportal for wayland support to share a mouse and keyboard across several devices. Afaik it needs to grab the cursor coordinates to make it work which means it could work for this too.

I can confirm it's supported on GNOME at least, I can check if KDE supports this tonight.

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

No branches or pull requests

4 participants