-
Notifications
You must be signed in to change notification settings - Fork 252
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 backend #331
Comments
Yes, the I believe it should automatically activate when you're on Linux, aren't on X11 and possibly you will have to run the script with |
I know about uinput, but I was referring to your comments about becoming a Wayland client. |
Oh right, no. As I explain in the comment you linked to, that approach wouldn't consistently work. Rather we will have to wait for a virtual device proposal to get passed and implemented in Wayland. I'm not sure where any of that stuff is up to, however. |
Oh right, I thought there might have been progress (on the Wayland side) since your comment was from a year ago. |
Oh it seems there has been some progress. So on the Wayland protocol side there are a few proposals but neither have been accepted:
What's interesting, though, is that both of these protocols are apparently already implemented in sway and other |
That sounds interesting. Unfortunately, I'm not advanced enough to contribute support. If you add this or mouse support for uinput (#332), I'd be happy to test though. |
The long term solution for Wayland support would be to implement these protocols, but I am reluctant to do that before they have been finalised and thoroughly documented. |
Agreed. But in theory if someone urgently wanted this feature now, I think they could implement C bindings for these unstable protocols, and you could get Python automating the mouse + keyboard on certain Wayland environments (not stock Gnome, though, which I assume is the most common DE on Linux atm). |
Hi there! Now that Ubuntu 21 is out, and using Wayland by default, the library seems to be bugging a bit 😕 But it does work... sometimes? |
Yes, it still works with applications running under XWayland, but Wayland being default on Ubuntu makes an implementation for the protocols listed above even more urgent. |
A global keybinds portal exists now, as of xdg-desktop-portal 1.16. As for emulating input, it'll either need root or an external library such as You could also possibly manage this via the RemoteDesktop portal. |
Looks like |
@TMiguelT made a good summary in #184 (comment) about what it would take to create a wayland backend.
Is anyone working on this?
The text was updated successfully, but these errors were encountered: