You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ Recommended first-run flow for most users:
20
20
- Run the exported `.ps1` script on your Windows machine to register the Linux peer.
21
21
5.**Start:** Choose **Start Service** or launch the tray with `./build/mwb_tray`.
22
22
23
+
For the full beta setup, health-check, diagnostics, connection-quality, and packaging-verification workflow, see [docs/beta-workflow.md](docs/beta-workflow.md).
24
+
23
25
---
24
26
25
27
## 🛠️ Build & Installation
@@ -93,6 +95,13 @@ For power users who prefer manual control:
93
95
94
96
See the full [documentation section](#detailed-documentation) for environment variables and protocol details.
95
97
98
+
User-facing beta operations:
99
+
100
+
-[Guided Windows pairing and export helper](docs/beta-workflow.md#guided-pairing-and-export-helper)
101
+
-[Health checks and diagnostics bundle](docs/beta-workflow.md#health-check)
102
+
-[Connection quality and latency reporting](docs/beta-workflow.md#connection-quality)
This guide covers the user-facing beta path for pairing Linux with PowerToys Mouse Without Borders on Windows, checking health, collecting diagnostics, tuning connection quality, and validating package output.
4
+
5
+
## Guided Pairing And Export Helper
6
+
7
+
Use the desktop controller for the guided path:
8
+
9
+
```bash
10
+
./mwb-desktop-ui.sh menu
11
+
```
12
+
13
+
1. Open **Settings** and enter the Windows host IP, local machine name, port, and exactly one authentication source: inline key, `key_file`, or Secret Service key ID.
14
+
2. Use **Connection Behavior** to choose automatic reconnect behavior before starting the service.
15
+
3. Export a Windows helper from Linux when the UI exposes the action, or use the CLI fallback:
16
+
17
+
```bash
18
+
./build/mwb_client export-windows-pair \
19
+
--config ~/.config/mwb-client/config.ini \
20
+
--output inputflow-windows-pair.ps1 \
21
+
--position auto
22
+
```
23
+
24
+
The helper writes the Linux peer name, IP, layout position, shared key, `MachinePool`, `MachineMatrixString`, and `Name2IP` values expected by PowerToys. On Windows, install and open PowerToys Mouse Without Borders once, then run the exported script in PowerShell:
Also include `~/.config/mwb-client/config.ini` with `key`, `key_file`, `key_secret_id`, Windows IPs, and hostnames redacted as needed. Do not attach exported Windows helper scripts or unredacted Secret Service identifiers to public issues.
61
+
62
+
## Connection Quality
63
+
64
+
For most beta users, keep automatic reconnect enabled and tune only if the service reconnects too aggressively or too slowly:
65
+
66
+
```ini
67
+
auto_connect_enabled=true
68
+
reconnect_initial_backoff_ms=500
69
+
reconnect_max_backoff_ms=30000
70
+
reconnect_idle_retry_ms=5000
71
+
latency_report=false
72
+
```
73
+
74
+
Enable latency reporting only while debugging missed or delayed input:
75
+
76
+
```bash
77
+
./build/mwb_client run --config ~/.config/mwb-client/config.ini --latency-report
78
+
```
79
+
80
+
You can also set `latency_report=true` in `config.ini` or run with `MWB_LATENCY_REPORT=1`. The report prints client-side queue and injection timing when the client shuts down.
81
+
82
+
## Packaging Verification
83
+
84
+
Validate RPM metadata without a full RPM build:
85
+
86
+
```bash
87
+
scripts/validate-rpm-packaging.sh
88
+
```
89
+
90
+
Run full Fedora RPM validation when the build dependencies are available:
The validation checks that the package keeps the compatibility binary and service names, includes the user unit, sysusers integration, modules-load file, and `/dev/uinput` udev rule, and does not introduce undocumented command aliases.
97
+
98
+

0 commit comments