lan-mouse icon indicating copy to clipboard operation
lan-mouse copied to clipboard

Does this have no issues that barrier/synergy have?

Open NovaProtocol opened this issue 4 months ago • 7 comments

As the title asks, does this have no issues from barrier/synergy?

Context: I use deskflow with a windows server and a Fedora with KDE plasma client.

I have one issue where mouse jumps from windows to linux but instead of moving smoothly, it jumps to the middle of my linux machine's screen instead to the side unless moved slowly. Cursor jumps to the exact middle of primary display on macOS #1043 ^ same effect but different setup Issue don't happen when i use X11 instead of wayland. I "fixed?" it by installing an X11 Desktop environment (XFCE) and replacing my wayland KDE plasma.

I also have issues with keyboard numpad not being recognized. Server seems to detect numpad key events but not my fedora client. External usb numpad: num lock is not recognized on client #7965

Clipboard seems to be unreliable in deskflow with wayland too. It rarely works. It works only on X11 DE.

Not sure if I misunderstood clipboard sharing but if it's what I think it is, it should let me share files too but even on X11, it doesn't work

I only really need the cursor jump and numpad events to be working with a wayland client cause this project seems promising.

NovaProtocol avatar Aug 20 '25 12:08 NovaProtocol

Cursor jumps to the exact middle of primary display on macOS #1043

If this happens upstream in Deskflow, would you mind opening an issue there? Thanks!

nbolton avatar Aug 20 '25 19:08 nbolton

Lan-Mouse does not share any source code with deskflow / input-leap or barrier. However there certainl are similar or entirely different issues.

Also keep in mind that Deskflow has a bigger feature set for now (lan-mouse does not support drag-and-drop or clipboard sharing atm).

feschber avatar Oct 07 '25 21:10 feschber

lan-mouse does not support drag-and-drop

Neither does Deskflow (assuming you mean drag drop files), we decided to remove the half-baked implementation that attempted this between Windows and macOS (Linux was never attempted). Other tools can do this better.

clipboard sharing

FWIW, clipboard sharing is currently hard/impossible on Wayland until upstream issues have been solved, such as: https://github.com/flatpak/xdg-desktop-portal/pull/1803

nbolton avatar Oct 08 '25 15:10 nbolton

@nbolton implemented here https://github.com/feschber/lan-mouse/pull/327 works great in omarchy, not sure why u think impossible

dnakov avatar Oct 08 '25 19:10 dnakov

@nbolton implemented here #327 works great in omarchy, not sure why u think impossible

@whot What do you think of this? I was under the impression that Wayland clipboard sharing in Synergy-like apps was blocked by: https://github.com/flatpak/xdg-desktop-portal/pull/1803

Edit: @dnakov Are you using wlroots? 🤔 @feschber Perhaps you might have some insight.

nbolton avatar Oct 09 '25 08:10 nbolton

@nbolton the PR just uses arboard with wayland-data-control. I'm using it in Hyprland (omarchy) but it should work in the other wlroots ones like Sway

dnakov avatar Oct 09 '25 13:10 dnakov

As per the README:

Wayland support is not enabled by default because it may be counterintuitive to some users: it relies on the data-control protocol extension(s), which are not supported by all Wayland compositors. You can check compositor support on wayland.app:

ext-data-control-v1 wlr-data-control-unstable-v1

So this won't work in GNOME and even some wlroots based Compositors.

feschber avatar Oct 09 '25 15:10 feschber