[AI Development Lab] 【Xwayland】让Xwayland应用走X11协议能正常进行截屏/录屏
Tofloor
poster avatar
mozixun
Moderator
an hour ago
Author

效果如下 (非LD_PRELOAD劫持实现方案, QQ于Xwayland中运行)

58b5b8471e8d966035726ffba6783837_720.jpg

我的实现方案是让Xwayland劫持X11协议下的截图/录屏请求, 全部转发至xdg-desktop-portal+pipewire实现

跟GPT-5.5大战一个下午+晚上, 我实现了基础版本, 源代码稍后同步至Github

Reply Favorite View the author
All Replies
avatar
mozixun
Moderator
an hour ago
#1

还是提醒一下: 这不是X11的DDE, 是Wayland的DDE

其次, 分数缩放下截图仍然有问题, 这个不是劫持的问题, 是treeland的问题

Reply View the author