Productive Linux


 Subscribe via Feedburner in a reader

Enter your email address:

Delivered by FeedBurner


Don't have an account?
Sign up to
Forgot your password?

Screen shot from the Command Line
29 March 2012 @ 15:29 BST
by Paul

Do a screen shot from the command line with ImageMagick like this:

import MyScreenshot.png

After hitting return on this command, you draw the portion of the screen you want grabbed with the mouse.

To make a delay while you open windows or something:

sleep 10; import MyScreenshot.png

To take a shot of the entire screen with a delay of 10 seconds:

 sleep 10; import -window root MyScreenshot2.png

Hat tip.

Comments disabled