Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I take a screenshot on a Raspberry Pi running Debian Squeeze and LXDE?

Shutter is not installed, print screen doesn't appear to work, screen grab is not installed etc.

share|improve this question
    
Given the nature of the device you'll need to install some software to do this - no idea what. A search for "screen capture debian" or something similar would help. –  ChrisF May 14 '12 at 13:56
    
Raspberry Pi, I'm so jealous! –  Moab May 14 '12 at 14:49

2 Answers 2

apt-get install scrot

Then read the manual for command line options. If you don't want to open a terminal to take a screenshot every time you can create a launcher for it.

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.