如何在 Raspberry Pi 上远程截图
你可以使用 ssh -CX pi@IP地址 登录到你的 Raspi,然后运行
remote-screenshot.sh
DISPLAY=:0 scrot screenshot.png对当前连接的显示器进行截图。之后,使用
view_screenshot_local.sh
feh screenshot.png(由于 ssh -CX,这将在你的 Linux 桌面上本地显示图像)或使用 scp、rsync、WinSCP 或任何其他工具将 screenshot.png 复制到本地计算机。
这对于调试显示器上发生的事情很有用。
Check out similar posts by category:
Raspberry Pi
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow