Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

I use zscreen in windows to capture my screen every 2 minute and save them on local file system with date time label. Is there any tool or script to doing this on linux Ubuntu?

share|improve this question

marked as duplicate by Rinzwind, Eric Carvalho, user68186, Flimm, Thomas W. May 10 '13 at 16:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

1 Answer 1

up vote 4 down vote accepted

You can use scrot and put it in /etc/crontab add this to /etc/crontab

*/2 * * * * <username> scrot 

For that you need scrot, which you can install like this:

sudo apt-get install scrot

You can also give scrot the following argument to move images to your Pictures directory

scrot '%Y-%m-%d_$wx$h_scrot.png' -e 'mv $f ~/Pictures/'
share|improve this answer
    
thanks for your answer. If i want to use scrot only when i want crontab isn't true manner for this issue. I use script for this issue while true; do scrot & sleep 2; done but when i use this script it's sleep influence on all system like in typing and cause delay in typing. How can i fix this issue? –  taher May 17 '13 at 22:13
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.