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

Check that waynergy works in cosmic-comp #450

Closed
WatchMkr opened this issue Apr 27, 2024 · 3 comments
Closed

Check that waynergy works in cosmic-comp #450

WatchMkr opened this issue Apr 27, 2024 · 3 comments

Comments

@WatchMkr
Copy link

No description provided.

@ids1024
Copy link
Member

ids1024 commented Apr 29, 2024

This should work, with the right permissions to access /dev/uinput. Though this isn't really the best way to handle synergy use-cases on Wayland - https://github.com/r-c-f/waynergy?tab=readme-ov-file#uinput-everyone-else

Waynergy also doesn't seem to have any support for acting as a server: r-c-f/waynergy#57

The correct way now would be the Remote Desktop and Input Capture portals, which use libei. Input-leap has Wayland support using these. At least in the long term, these portals to be the correct way to handle synergy-type use cases across Wayland compositors.

Smithay/smithay#1388 has an initial version of the compositor support needed for the remote desktop portal. The Input Capture protocol can also use reis to implement the ei protocol, but still needs work to integrate in Smithay and cosmic-comp.

@hkdb
Copy link

hkdb commented May 8, 2024

Hi there! I am actually the one who casually mentioned this to @WatchMkr at LinuxFestNW. Just wanted to stop by here and confirm that Waynergy does work with Cosmic. After mentioning it, I decided to test it out myself and it works just fine. My test was with Pop! OS 22.04 and I just installed cosmic-session via apt.

@ids1024 You are absolutely right. Waynergy is not the best way to approach it but it seems to be the best temp workaround I can find for a mixed environment (with the server running x11) at least until input-leap makes enough progress which will probably be a while.

Can't wait for Cosmic ALPHA! Loving what you guys have done so-far!

Cheers!

@WatchMkr
Copy link
Author

It's great to hear Waynergy is working!

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

3 participants