Advanced

How to Automatically Take Screenshots In Ubuntu At Regular Interval

Posted by Scott_Ruecker on · 4 comments
MakeTechEasier
Mail this story
Print this story

It is easy to take a screenshot in Ubuntu. You can use the “Print Screen” button on your keyboard (if it comes with one), the default screenshot tool or any other third-party software like Shutter. What if you want the system to take a screenshot automatically at a regular interval, say every 5 seconds? The above tools won’t be able to do the job. Here is a quick way you can take screenshots in Ubuntu at regular interval.

Full Story

  Nav
» Read more about: Groups: Ubuntu; Story Type: News Story

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (4)

#!/bin/bash

while [ 1 ]; do

xwd -root | convert - scrndmp.`date +"%Y%m%d-%H%M%S"`.jpg sleep 5

done

Or is using a utility as old as "xwd" -- available on any UNIX/Linux system I've ever used going back years (heck... long enough I think one could say "decades" at this point) -- not considered cool enough any more? (I don't even have a utility called "scrot" on my system. What's with all the Ubuntu-only utilities any way?
Quoting:(I don't even have a utility called "scrot" on my system. What's with all the Ubuntu-only utilities any way?


scrot is hardly "Ubuntu-only". It is available in Mageia, PCLinuxOS, Debian, and probably many more.

The headline doesn't say "Take Screenshots in X11".

Remember, Ubuntu is Linux!
Quoting:``... available in Mageia, PCLinuxOS, Debian, and probably many more.''


Ah... seems to have roots in Mandrake/Mandriva then. I have never encountered it on any of the SuSE/OpenSuSE-related package sites or even on Packman though there is a utility called "shutter" (if memory serves) that claims to be "scrot"-like. Still seems like another case of re-inventing the wheel (IMHO). (We should keep this quiet lest someone start shouting about Linux distribution incompatibilities.)

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post