sam-4screen-desktop 2026-8-1:15:44:15

This commit is contained in:
2026-08-01 15:44:15 +10:00
parent 9a1de5c2db
commit 448c0eb4e5

View File

@@ -150,10 +150,10 @@ Host phone
|--------|-------| |--------|-------|
| **Version** | v0.10.0 (pre-encryption, from [GitHub releases](https://github.com/feschber/lan-mouse/releases/tag/v0.10.0)) | | **Version** | v0.10.0 (pre-encryption, from [GitHub releases](https://github.com/feschber/lan-mouse/releases/tag/v0.10.0)) |
| **Binary** | `~/.local/bin/lan-mouse` (same binary on all three) | | **Binary** | `~/.local/bin/lan-mouse` (same binary on all three) |
| **Service** | `~/.config/systemd/user/lan-mouse.service` (`systemctl --user start lan-mouse`) | | **Service** | `~/.config/systemd/user/lan-mouse.service` (enabled, auto-starts) |
| **Config** | `~/.config/lan-mouse/config.toml` | | **Config** | `~/.config/lan-mouse/config.toml` |
| **Port** | UDP 4242 | | **Port** | UDP 4242 |
| **Encryption** | None (plain UDP). v0.11.0 DTLS is broken between different NixOS builds. | | **Encryption** | None. v0.11.0 DTLS is broken `Alert is Fatal or Close Notify` even on identical binaries. |
**Layout:** `.13 ← .27 → .51` **Layout:** `.13 ← .27 → .51`
- .27: `[left] ips = ["192.168.20.13", "192.168.20.46"]` `.46` is .13's Wi-Fi — required. - .27: `[left] ips = ["192.168.20.13", "192.168.20.46"]` `.46` is .13's Wi-Fi — required.
@@ -161,13 +161,18 @@ Host phone
- .13: `[right] ips = ["192.168.20.27"]` - .13: `[right] ips = ["192.168.20.27"]`
- .51: `[left] ips = ["192.168.20.27"]` - .51: `[left] ips = ["192.168.20.27"]`
**Startup flags:** `--daemon --capture-backend layer-shell`. On .13 also `--emulation-backend libei` (KDE). **Startup flags:**
- .27/.51: `--daemon --capture-backend layer-shell`
- .13: `--daemon --emulation-backend libei` (KDE), uses wrapper script for NixOS libs
**Release key:** Press `ASDF` together to free trapped mouse back to .27.
**⚠️ Gotchas:** **⚠️ Gotchas:**
- **Never use hostnames** — Tailscale resolves them to virtual IPs. Raw IPs only. - **Never use hostnames** — Tailscale resolves to virtual IPs. Raw IPs only.
- **v0.11.0 will NOT work** — DTLS `Alert is Fatal or Close Notify` between different NixOS builds. - **v0.11.0 does NOT work** — DTLS broken everywhere.
- **.13 needs both IPs** (wired `.13` + Wi-Fi `.46`) in every other machine's client list. - **.13 needs both IPs** (wired `.13` + Wi-Fi `.46`) in other machines' client list.
- **KDE (.13):** Accept the input emulation permission dialog on first run. - **v0.10.0 limitation:** Modifier keys (Super/Alt/Ctrl) not forwarded on wlroots. Basic typing/mouse works.
- **KDE (.13):** Accept input emulation permission dialog on first run.
## Tailscale (Tailnet) ## Tailscale (Tailnet)