Linux Window Screen Capture

Ynog

Golden Member
Oct 9, 2002
1,782
1
0
Does anyone know of anyone good free capture programs that can be used
to capture windows on a linux box.

If I am not describing myself well enough, basically looking for something
that can capture an individual window when doing a screen shot.

Thanks ahead of time.
 

VBboy

Diamond Member
Nov 12, 2000
5,793
0
0
Could there be a special key combination, like Alt+PrintScreen on Windows?
 

Ynog

Golden Member
Oct 9, 2002
1,782
1
0
Actually i was looking for single window screenshots, but I think the GIMP can do what I am looking for.

Thanks anyway
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Nope, "built in" things like print screen tend to not exist in unix land, some programs you can use to take screenshots are:

scrot - nice, small, handy command line utility, my fave. Just run "scrot" and it dumps a dated png in the current directory.
the gimp - file->acquire->screenshot
import -window root file.jpg - I believe the "import" utility is part of image magick, I don't really remember.
ksnapshot - qt (kde) gui program which has a preview thumbnail
some gnome 1 dockapp can take screen shots, not sure what the name of it is.

Hmm, just re-read your question, for a program that takes a screenshot of just a single window, the gimp and ksnapshot both do that.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
If you have the gimp installed it can do that. If you use import (from the ImageMagik tools IIRC) it should change the cursor to a + and whatever window you click on will get captured.
 

VBboy

Diamond Member
Nov 12, 2000
5,793
0
0
BingBongWongFooey,

Is that real code in your sig? I really hope you don't write programs that look like that :)
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: VBboy
BingBongWongFooey,

Is that real code in your sig? I really hope you don't write programs that look like that :)

It was my attempt to make the most obfuscated python code possible. It's not really very obfuscated though. Replace the semicolons with newlines and it's not too bad at all. :-/

I'm taking a wild guess that you don't have a python interpreter around (;)) - here's what it outputs:

X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X

(it's randomized, different each time ;)) (hit quote to see it properly)
 

GhettoFob

Diamond Member
Apr 27, 2001
6,800
0
76
Originally posted by: BingBongWongFooey
Originally posted by: VBboy
BingBongWongFooey,

Is that real code in your sig? I really hope you don't write programs that look like that :)

It was my attempt to make the most obfuscated python code possible. It's not really very obfuscated though. Replace the semicolons with newlines and it's not too bad at all. :-/

I'm taking a wild guess that you don't have a python interpreter around (;)) - here's what it outputs:

X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X

(it's randomized, different each time ;)) (hit quote to see it properly)

that's purdy :)