Screenshots with the scrot command

Intro

scrot (refer Screen shOT) is a simple utility screenshot command line more or less same as "import" command of ImageMagic . It make use of the imlib2 library, supporting many different formats.

command of .

You can get it on the Linux Breat website )tarball,rpm and srpm)

Download

Click on the link below to download (tarball, rpm and srpm): http://linuxbrio.uk/scrot/

Using scrot

Example of use

sleep 2 && scrot -s -b -t 20 shot.png

Explanations :

-s :select a window

:select a window -b :select the edges of a window

:select the edges of a window -t [n] :creates a Thumbnail of n%

The "Sleep" command is useful when using multiple virtual desktops, and leave you in this case, the time of "switch" from one desktop to another to capture the window of your choice.

Feel free to visit the "man" for more information about the "scrot command"

Here's a screenshot (and miniature) generated with "scrot" command

http://linux.dieet/man/1/scrot

Here's a screenshot (and miniature) generated with "scrot" with command line quoted above:

Leave A Comment