Skip to content

Repository files navigation

屏幕 clone 管理

Windows 原生复制不可用时,通过 OBS 将笔记本内屏投放到外接屏幕。

Windows 11 OBS Release License

下载 Release

解决的问题

部分 Advanced Optimus / 混合显卡笔记本中,内屏由核显输出,HDMI 外屏直连独显。两个屏幕分属不同显示适配器,可能导致 Windows 原生“复制这些显示器”不可用。

本工具使用 OBS Source Projector 提供画面镜像替代方案。

会做 不会做
将内屏画面投放到外接屏幕 修改 Windows 显示拓扑
管理 OBS 全屏投影窗口 自动切换复制/扩展模式
复用已有的内屏 Display Capture 猜测或自动创建捕获源

Important

Windows 显示模式必须保持为 扩展。本工具模拟画面复制,但不改变系统的显示连接方式。

快速开始

1. 准备 OBS

  1. 安装并启动一次 OBS Studio。
  2. 在任意场景中添加 显示器采集 / Display Capture
  3. 选择笔记本内屏,并确认 OBS 预览画面正确。

2. 安装

下载并解压 Release zip,然后运行:

pwsh -NoLogo -NoProfile -File .\install.ps1

没有 PowerShell 7 时,使用 Windows 自带的 PowerShell:

powershell.exe -NoLogo -NoProfile -File .\install.ps1

安装后,在桌面空白处右键选择 屏幕 clone 管理

Tip

也可以不安装,直接运行 ScreenCloneManager.exe。程序为 self-contained 单文件,不需要额外安装 .NET Runtime。

3. 选择外屏

按键 操作
/ 移动选择
Space 勾选或取消当前外屏
A 全选或取消全选
Enter 确认
Esc 返回或关闭管理窗口

投放开始后可以关闭管理窗口,投影会继续运行。再次打开程序可查看状态、更换目标或停止投放。

停止投放只会关闭本工具创建的投影窗口,不会停止 OBS 的录制、直播、虚拟摄像头或回放缓存。

常见问题

Warning

找不到内屏采集源
打开 OBS,在当前 Scene Collection 的任意场景中添加捕获笔记本内屏的 Display Capture,然后重试。

OBS 正在运行,但本地控制不可用
关闭 OBS,再重新启动本工具。工具会在 OBS 未运行时配置带密码保护的 obs-websocket。

外屏没有出现或无法选择
确认 Windows 当前为“扩展”模式,重新连接外屏后再打开程序。

配置和日志位于:

%LOCALAPPDATA%\ScreenCloneManager\

已知限制

  • 当前面向带内置屏幕的 Windows 11 x64 笔记本。
  • 已实机验证单个 HDMI 外屏。
  • 双外屏、DisplayLink、无线显示和虚拟显示器尚未完整验证。
  • 不自动初始化全新的 OBS Scene Collection 或 Display Capture。
  • OBS 后续版本可能需要重新验证 Source Projector 兼容性。
卸载

完整卸载:

pwsh -NoLogo -NoProfile -File "$env:LOCALAPPDATA\ScreenCloneManager\uninstall.ps1"

没有 PowerShell 7 时,将命令开头替换为 powershell.exe

保留配置和日志:

pwsh -NoLogo -NoProfile -File "$env:LOCALAPPDATA\ScreenCloneManager\uninstall.ps1" -KeepUserData
从源码构建

需要 .NET 10 SDK 和 PowerShell 7:

pwsh -NoLogo -NoProfile -File .\scripts\build-release.ps1

产物:

artifacts\release\ScreenCloneManager-1.0.0-preview.2.zip

更多信息

About

A lightweight Windows 11 tool that mirrors a laptop’s internal display to external monitors through OBS when native display duplication is unavailable on hybrid-GPU systems.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages