[GH-ISSUE #249] [Feature Request] Add file transfer / drag and drop #121

Open
opened 2026-05-05 22:10:28 -06:00 by gitea-mirror · 1 comment
Owner

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.

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.
gitea-mirror added the
enhancement
label 2026-05-05 22:10:28 -06:00
Author
Owner

@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)

<!-- gh-comment-id:2642684447 --> @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)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#121
No description provided.