[clue-tech] scripted screenshots

Adam Bultman adamb at glaven.org
Tue May 8 14:17:23 MDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I can't get it to work from a cron job, but:

 DATE=`date "%Y-%m-%d-%H-%M`  ; import -window root /tmp/screen-$DATE.jpg

would use imagemagick to grab a screenshot anytime you wanted.  A
simple shell or perl script running in a window would work fine.  If
you could manage to work out how to take a screeny from cron, you'd be
set.

Adam



erik at ezolan.com wrote:
>> I want to take a screenshot every ten seconds or minute or
>> whatever, and store it in a folder without any disruption of what
>> I'm doing, so that later, when I try to figure out what the f* I
>> did all day long, I have some sort of a record.
>>
>> Any idears?
>
> Hm an interesting idea. I poked around and found this page:
> http://tips.webdesign10.com/how-to-take-a-screenshot-on-ubuntu-linux
>
>
> So I went and tried the Imagemagick route. It has a ton of
> features, but I couldn't figure out how to make it just take the
> screenshot. It wanted me to mouse click on the screen ever time.
>
> I think scrot is more what you're looking for. It doesn't have many
>  features, but it will take a screenshot without any prompting from
> the user. The only problem I had with it was that it would 'ding'
> when it took a screenshot.
>
> Toss that baby into a script for timing and naming of screenshots,
> turn off dings in the console, and you should be set.
>
> _______________________________________________ clue-tech mailing
> list clue-tech at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-tech

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQNrTdftsbvGFaP4RAvOvAKCu2Qj9eOKuzjKo0MWmJkNg2JbkugCgtkEV
ddeeIywylbIN7civjhUSWeQ=
=NyBb
-----END PGP SIGNATURE-----




More information about the clue-tech mailing list