From e09778cc94a2ed4133041743dfb2b1371375ae94 Mon Sep 17 00:00:00 2001 From: VallierDev <24893073+VallierDev@users.noreply.github.com> Date: Wed, 21 Oct 2026 21:05:58 +0800 Subject: [PATCH] Release v0.2.21: Wayland without virtual pointer/keyboard, systemd unit docs Co-Authored-By: Claude Opus 5.5 --- Cargo.lock | 2 +- Cargo.toml | 2 +- docs/release-notes/v0.2.21.md | 19 +++++++++++++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 docs/release-notes/v0.2.21.md diff --git a/Cargo.lock b/Cargo.lock index b42132f..088d02f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2741,7 +2741,7 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uu-remote-linux" -version = "0.2.20" +version = "0.2.21" dependencies = [ "async-trait", "base64 0.22.1", diff --git a/Cargo.toml b/Cargo.toml index d1eda98..ee9aa9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uu-remote-linux" -version = "0.2.20" +version = "0.2.21" edition = "2021" default-run = "uuremote-server" authors = ["uu-remote-linux contributors"] diff --git a/docs/release-notes/v0.2.21.md b/docs/release-notes/v0.2.21.md new file mode 100644 index 0000000..0690ca7 --- /dev/null +++ b/docs/release-notes/v0.2.21.md @@ -0,0 +1,19 @@ +Wayland 合成器缺少虚拟指针或虚拟键盘时,桌面仍可使用;systemd 单元示例与 deb 包一致。/ Wayland desktops without virtual pointer/keyboard protocols still come up. + +### 修复 / Fixed +- **只缺 wlr-virtual-pointer 或虚拟键盘受限的合成器整个桌面不可用**(#72、#73,感谢 @clionertr):Denial 等合成器不提供 + `zwlr_virtual_pointer_manager_v1`,或只把虚拟键盘给它自己的输入法。现在这两个协议都是可选的:画面采集照常启动, + 缺指针时绝对移动改走 uinput(需能访问 `/dev/uinput`,见 README);`UU_WAYLAND_NO_VIRTUAL_KEYBOARD=1` 可跳过虚拟键盘。 + 只有「完全没有虚拟指针」才回退 uinput;坐标超出当前采集输出等其他失败照旧返回,不会把指针移到别的屏幕(#78)。 + CI 构建与测试通过,**未在 Denial 上实机验证**;Hyprland 等已有虚拟指针的合成器行为不变。 +- Virtual pointer and keyboard are optional on Wayland; capture still starts and pointer motion falls back to uinput only when + the compositor has no wlr-virtual-pointer. Not tested on Denial. + +### 文档 / Docs +- README 的用户 systemd 单元与 deb 包一致:不再写死 `DISPLAY=:0`,随 `graphical-session.target` 启动;无头模式、虚拟桌面和 + Xfce/i3 等不启动该 target 的桌面改用 `WantedBy=default.target`(#69,感谢 @ferstar)。 + +### 下载 / Download +`uu-remote-linux_0.2.21_.deb`,或 `uu-remote-linux-v0.2.21--linux.tar.gz`,或 `docker pull ghcr.io/vallierdev/uu-remote-linux:v0.2.21`(x86_64)。 + +**非官方项目,与网易无关。** / **Unofficial, not affiliated with NetEase.**