scrcpy 把安卓手机投屏到 Linux 桌面
开源低延迟投屏,鼠标键盘直接控制手机,USB 或 Wi-Fi 都行,手机端不用装任何 App。
手机开启 USB 调试并连接后运行 scrcpy --max-size 1024,弹出镜像窗口即可用鼠标点击、键盘输入来操控手机。
01命令
命令
$ scrcpy --max-size 102402作用说明
scrcpy 通过 ADB 传输手机画面并注入键鼠操作,因为手机端不用装额外应用、客户端是临时推送的,所以延迟很低,也不需要 root。--max-size 把视频缩小降低带宽,Wi-Fi 下特别有用;--record 文件.mp4 可以录制投屏内容,--turn-screen-off 能在手机屏幕熄灭的情况下继续电脑上操作。配合 adb tcpip 和 adb connect 还能切换到无线模式。
03风险
!注意: Wi-Fi 投屏延迟比 USB 高;scrcpy 获得了手机的完整输入控制权——不要在来路不明的电脑上使用,也别在无人看管时保持连接。
04撤销
✓无需撤销——该命令不会改变持久状态。
05来源
- scrcpy(1) — display and control your Android device依据: Man page describes scrcpy mirroring the device display and documents --max-size, --record and audio options; confirms 'scrcpy', 'mirror' and '--max-size' appear in the text.
- scrcpy — README (Genymobile)依据: Official README states scrcpy 'provides display and control of Android devices connected on USB' and documents --max-size/--max-width limits and --record; the word 'mirror' appears in the text.
最后验证: 2026-09-19 · 分类: 系统与设置