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

debian-based, raspberry-pi

Solution

This can be achieved with ImageMagick. Install by running the command

sudo apt-get install imagemagick

To grab all desktop just type

import -window root screen.png

Or you can do it with a delay of 5 seconds

sleep 5; import -window root screen.png

Problem

Noob question... But shutter not installed, print screen doesn't appear to work, screen grab not installed etc.

Original source