automating screenshots / commandline screenshots

Nils Kassube kassube at gmx.net
Tue Aug 11 17:55:56 UTC 2009


Axel Etzold wrote:
> I need to take a very large number of screenshots and save them in
> individual image files.

Try this:

for n in {10..30};do xwd -out pic$n.xwd -root -silent;sleep 1;done

The program xwd is in the package x11-apps if you don't have it 
installed already.


Nils





More information about the ubuntu-users mailing list