[GH-ISSUE #89] CLI access from scripts #36

Closed
opened 2026-05-05 22:05:35 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @ramonacat on GitHub (Feb 23, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/89

I have a virtual machine with windows, that often takes the place of my usual linux desktop. It would be nice if I could script the switching in lan-mouse. Being able to do something like lan-mouse --frontend cli deactivate 2 && lan-mouse --frontend cli activate 3 would make my life significantly easier.

Originally created by @ramonacat on GitHub (Feb 23, 2024). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/89 I have a virtual machine with windows, that often takes the place of my usual linux desktop. It would be nice if I could script the switching in lan-mouse. Being able to do something like `lan-mouse --frontend cli deactivate 2 && lan-mouse --frontend cli activate 3` would make my life significantly easier.
gitea-mirror 2026-05-05 22:05:35 -06:00
Author
Owner

@feschber commented on GitHub (Feb 24, 2024):

you should be able to do this already by just piping the commands into lan-mouse.
Something like

echo deactivate 0 | lan-mouse --frontend cli

works for me.

Certainly a good idea to have this functionality via cli args directly! I will add that to the list :)

<!-- gh-comment-id:1962350428 --> @feschber commented on GitHub (Feb 24, 2024): you should be able to do this already by just piping the commands into `lan-mouse`. Something like ```sh echo deactivate 0 | lan-mouse --frontend cli ``` works for me. Certainly a good idea to have this functionality via cli args directly! I will add that to the list :)
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#36
No description provided.