如何在运行Debian Squeeze和LXDE的Raspberry Pi上截取屏幕截图?

Dyc*_*cey 6 debian-based raspberry-pi

Noob问题......

但是没有安装快门,打印屏幕似乎没有工作,屏幕抓取没有安装等.

小智 7

这可以通过ImageMagick实现.通过运行命令进行安装

sudo apt-get install imagemagick
Run Code Online (Sandbox Code Playgroud)

要抓住所有桌面只需输入

import -window root screen.png
Run Code Online (Sandbox Code Playgroud)

或者你可以延迟5秒

sleep 5; import -window root screen.png
Run Code Online (Sandbox Code Playgroud)


Ter*_*den 5

对于重量较轻的截屏工具,请使用scrot

sudo apt-get install scrot
Run Code Online (Sandbox Code Playgroud)

要在终端上截取屏幕截图,只需输入即可

scrot
Run Code Online (Sandbox Code Playgroud)

比如说5秒之后拍摄截图

scrot -d 5
Run Code Online (Sandbox Code Playgroud)