On 02/08/2010, Tha.Suresh <[email protected]> wrote:
> Screenshots in command line
>
> KDE has the ability to take screenshots with the command below.
>
>            $ ksnapshot
>
> GNOME likewise has a command too.
>
>            $ gnome-panel-screenshot --delay 6

Here you are just calling GNOME/KDE's screenshot taking tools. import
is the more appropriate utility to be called command line.

    import -window root screenshot.png

Use this to take the screenshot of whole window. If you don't want to
include terminal in which this command was typed or if you want to
rearrange windows before screenshot is taken, use sleep command before
import. eg

   sleep 10;import -window root screenshot.png

Use import screenshot.png to take screenshot of a portion of the screen.

Ref: Linux Multimedia Hacks, Kyle Rankin

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to