mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-15 14:15:52 -06:00
[GH-ISSUE #223] Failed to load shader program: Compilation failure in shader. #108
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#108
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 @alazyworkaholic on GitHub (Nov 5, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/223
I have a windows laptop and Linux (nixos) desktop. I want to use the laptop's keyboard & mouse (and/or trackpad) as if it were the desktop's.
I downloaded and extracted lan-mouse-windows.zip release v0.9.1.
I then copy-pasted the config.toml and adjusted to set the ip address for the other machine on my network (and deleted the [Left] section). I also had to change "gtk" to "Gtk".
I then ran C:\Users\alazy\Downloads\lan-mouse-windows\lan-mouse.exe
I got this:
Then many lines of source code scroll incessantly.
What am I doing wrong?
config.toml.txt
@alazyworkaholic commented on GitHub (Nov 5, 2024):
Following up, lan-mouse starts if I write "Cli" in config.toml instead of "Gtk".
I install and run lan-mouse on nixos. (renamed nixos from DX58SO in last post)
However, on the Windows sender, I just get:
It releases the pointer every time I move it past the right side of the screen.
Whereas on the Linux receiver, I see:
I see there seems to be a connection through both wifi 192* and ethernet 10.* so my routing needs a fix, but I don't think that's the problem.
What next?
@feschber commented on GitHub (Nov 5, 2024):
You currently have to add device A on device B and device B on device A for it to work. Did you do this?
This will change as soon as #200 is merged
@alazyworkaholic commented on GitHub (Nov 5, 2024):
No, I hadn't added the Windows computer in lan-mouse instance running on Linux. Doing so mostly fixed it for a while, but I couldn't move the cursor back to Windows by moving the cursor past the edge of any Linux screen (I have 2).
I quit lan-mouse then restarted some time later, and now it doesn't work again.
When I reconnect the two machines as they were and move the cursor from the Windows screen to the right, this appears in the Linux terminal:
Remaining Issues:
[2024-11-05T18:17:50Z ERROR lan_mouse::capture] falling back to dummy input captureactivate <id>command, but what's an example of a valid id? The hostname or IP didn't work. I didn't find an explanation of the CLI in the readmeUPDATE
Tried again and it worked. I am not sure why but it may have to do with the two GNOME dialogs asking permission to accept remote input. It also now allows me to move my cursor back to the Windows machine.
However, my mouse wheel does not work.
@feschber commented on GitHub (Nov 6, 2024):
For the cli:
You can use the
listcommand to list configured devices.The id is the number of the client (e.g.
client 0:...)And also there is a
helpcommand, which shows available commands and how to use them.libei input capture not available: ZBus Error: I/O error: Broken pipe (os error 32)This seems very strange, however it would explain, why you could not move the cursor back to the windows machine earlier.
Also given this error
[2024-11-05T18:17:50Z ERROR lan_mouse::capture] falling back to dummy input capture, it should not be possible to move your mouse back to the windows machine, which is kind of strange.@feschber commented on GitHub (Nov 6, 2024):
this is now fixed in latest
main(all lowercase now regardless of cli or config file).Be aware the prerelease is incompatible with 0.9.1.
@alazyworkaholic commented on GitHub (Nov 10, 2024):
I tried v0.10.0 on Windows but the GUI still doesn't work. I couldn't test the CLI because my nixos machine still only has v0.8.0; even the unstable branch is only at 0.9.3. If anyone else knows nixos, I'd love to know how to fetch & build a specific (latest) lan-mouse version.
@EduLMoraes commented on GitHub (Jan 6, 2025):
i resolved this problem with the env GSK_RENDERER=cairo, try it!
@feschber commented on GitHub (Jan 7, 2025):
seems to be the same:
closing as duplicate of #244