Skip to main content
2 of 2
replaced http://stackoverflow.com/ with https://stackoverflow.com/

I found a great answer to this question here, it is worth repeating.

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 
Andrew Fogg
  • 341
  • 2
  • 3
  • 9