unifiedremote/Remotes

Does not work on Sway (Wayland)

Opened this issue · 4 comments

The unified remote server does not appear to be working with the sway compositor (wayland; arch linux).
I can use the remote to send input to Xwayland windows, but not wayland windows. Although mouse input works with X windows, the drawn cursor does not update (probably because Sway draws the cursor and is not aware of X inputs).

eboye commented

Same problem here, I see in configuration that it enables X11 which is not present at my wayland session
image

pqvst commented

We use libX11 for input simulation if libX11 is available. Otherwise we use uinput. It seems like uinput would work for wayland.

So I guess we need to implement a better X11 vs uinput check. Perhaps by using $XDG_SESSION_TYPE, and maybe adding a manual override as well.

eboye commented

Amy news on this?

pqvst commented

@eboye I started working on this, but was having issues getting uinput to work with wayland. I'll need to spend some more time debugging this.