Как сделать снимок экрана на Raspberry Pi, работающем под Debian Squeeze и LXDE?

1306
Dycey

Как сделать снимок экрана на Raspberry Pi, работающем под Debian Squeeze и LXDE?

Затвор не установлен, экран печати не работает, захват экрана не установлен и т. Д.

0
Учитывая характер устройства, вам нужно установить какое-то программное обеспечение для этого - понятия не имею, что. Поиск "Debian Screen Capture" или что-то подобное может помочь. ChrisF 11 лет назад 0
Raspberry Pi, я так завидую! Moab 11 лет назад 0

2 ответа на вопрос

1
Guido
apt-get install scrot 

Затем прочтите руководство по параметрам командной строки. Если вы не хотите открывать терминал, чтобы делать снимок экрана каждый раз, вы можете создать для него панель запуска.

1
runejuhl

I'd use import from ImageMagick:

apt-get install imagemagick 

Selection

When invoking import, the only required argument is a filename, e.g.

import screenshot.png 

When providing only the output filename, you have to drag around the area you want to capture.

Full screen

If you want to capture the full screen, you have to invoke import is this fashion:

import -window root screenshot.png 

More advanced

Being only arguments, it's pretty easy to fit it to your uses:

sleep 2; import -window root ~/Dropbox/screenshot_`date +%F_%H-%M-%S`.png 

The above sleeps for 2 seconds, then takes a screenshot and puts it in ~/Dropbox. The screenshot name is appended with the current date and time, e.g. screenshot_2013-02-25_06-42-56.png

If you want even more, have a look at Snapper which does all of this, can create screencasts and has support for copying the results to a remote server, amongst other things.