[GH-ISSUE #107] Invoke custom script when input is switched #40

Closed
opened 2026-05-05 22:06:00 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @xpufx on GitHub (Apr 21, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/107

Barrier has this parameter --screen-change-script <path> : full path to script to run on screen change first argument is the new screen name which runs a user defined script when input switching occurs.

I am using this feature to switch my monitor input with ddc commands as detailed here: https://xpufx.com/posts/hundred-percent-software-kvm-switch/

Is there similar functionality in lan-mouse?

Originally created by @xpufx on GitHub (Apr 21, 2024). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/107 Barrier has this parameter `--screen-change-script <path>` : `full path to script to run on screen change first argument is the new screen name` which runs a user defined script when input switching occurs. I am using this feature to switch my monitor input with ddc commands as detailed here: https://xpufx.com/posts/hundred-percent-software-kvm-switch/ Is there similar functionality in lan-mouse?
gitea-mirror 2026-05-05 22:06:00 -06:00
Author
Owner

@feschber commented on GitHub (Apr 22, 2024):

Not right now but I will keep this issue around.

<!-- gh-comment-id:2070712984 --> @feschber commented on GitHub (Apr 22, 2024): Not right now but I will keep this issue around.
Author
Owner

@feschber commented on GitHub (Apr 22, 2024):

Also: Are you aware of input-leap? It's the maintained barrier fork.

<!-- gh-comment-id:2070715228 --> @feschber commented on GitHub (Apr 22, 2024): Also: Are you aware of input-leap? It's the maintained barrier fork.
Author
Owner

@feschber commented on GitHub (May 12, 2024):

Will need to update for windows and update the documentation

<!-- gh-comment-id:2106208367 --> @feschber commented on GitHub (May 12, 2024): Will need to update for windows and update the documentation
Author
Owner

@xpufx commented on GitHub (Dec 3, 2024):

Also: Are you aware of input-leap? It's the maintained barrier fork.

Somehow I missed this comment. At the time I posted the question none of the barrier forks had wayland support. Now input leap and the new synergy upstream Deskflow do seem to have it.

Thank you for the enter hook support. Awesome. I will test it out asap.

<!-- gh-comment-id:2514574670 --> @xpufx commented on GitHub (Dec 3, 2024): > Also: Are you aware of input-leap? It's the maintained barrier fork. Somehow I missed this comment. At the time I posted the question none of the barrier forks had wayland support. Now input leap and the new synergy upstream Deskflow do seem to have it. Thank you for the enter hook support. Awesome. I will test it out asap.
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#40
No description provided.