Stream of Ry

Yet Another Geek In The World

import: Easy screenshots in Linux

3 comments

Pressing Print Screen in GNOME captures a screenshot of, well, the whole screen. (I’m assuming the same works for KDE too.)

What if you just want to capture a certain window or a certain area?

Enter import. It’s a very simple tool to use.
After installing it*, in a terminal, type
import <path>/<filename>.<extension>
and then your mouse pointer will change into a crosshair-pointer.

You can either:

  • Click a window -> captures that particular window
  • Drag -> captures that area

And voila! The particular area / window has been captured and saved as the selected filename.extension.
No more opening up that screenshot in GIMP just to crop out. :)


* To install in dpkg-based system (ie Ubuntu):
sudo apt-get install imagemagick
Of course with any CLI command, import can be a very very powerful command.
More details about import can be found here.

** To see supported formats, just type:
import -list format

Written by rystraum

January 3rd, 2010 at 10:34 am

3 Responses to 'import: Easy screenshots in Linux'

Subscribe to comments with RSS or TrackBack to 'import: Easy screenshots in Linux'.

  1. Cool. I just use the prntscrn key all the time or GIMP. But if it’s full screenshots of web pages, screengrab on Firefox.

    Clair

    10 Jan 10 at 6:24 am

  2. sudo rm -rf

    Eirik Fleisje

    13 Jan 10 at 5:32 pm

  3. @Eirik Fleisje

    I said that earlier. Dang it. You know, in an earlier article.

    Creativity is dead, Microsoft has stolen my brain.

    Eirik Fleisje

    13 Jan 10 at 5:53 pm

Leave a Reply