mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-15 14:15:52 -06:00
[GH-ISSUE #249] [Feature Request] Add file transfer / drag and drop #121
Labels
No labels
Xorg
documentation
enhancement
macos
pull-request
question
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/lan-mouse#121
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dougg0k on GitHub (Jan 13, 2025).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/249
Hi,
Today I was looking for a tool to share my mouse and keyboard between a linux desktop and macos laptop, but I noticed that there are some functionality missing that would be really nice to have.
One of them, being clipboard feature, which is the most important, but I've seen that there is a issue https://github.com/feschber/lan-mouse/issues/105 already open for it.
Another one being file transfer with or without drag and drop, between the machines.
If drag and drop are too difficult, maybe have a (pre-configured) shared virtual folder / drive.
@DrYak commented on GitHub (Feb 7, 2025):
Note that, as discussed in the clipboard issue, although lan-mouse itself can't easily do this (due to the real-time UDP nature of its protocol), it features a (poorly documented #258) execution hook feature (see the old #107 issue), which can be used to achieve functionality which goes beyond sharing keyboard/mouse events in real-time.
Currently, clipboard sharing works by combining clipboard management tools (wl-clipboard, wl-clipboard-rs) and SSH forced commands.
File transfer would probably be handled by using 3rd party tools dedicated to network file sharing and script hooks (e.g. upon the cursor exiting the screen, if one or more files are in the clipboard, put them into a file sharing tool, and use an SSH forced command to request the target machine to check what's shared) (drag and drop would basically be the same, but with even more logic to detect whether a drag drop was in progress and advertise to resume a drag from the other side)