Summary...

Story: How to Automatically Take Screenshots In Ubuntu At Regular IntervalTotal Replies: 3
Author Content
rnturn

Jun 19, 2013
12:08 AM EDT
#!/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?
djohnston

Jun 19, 2013
8:56 AM EDT
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.

gus3

Jun 19, 2013
12:34 PM EDT
The headline doesn't say "Take Screenshots in X11".

Remember, Ubuntu is Linux!
rnturn

Jun 19, 2013
12:59 PM EDT
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.)

Posting in this forum is limited to members of the group: [ForumMods, SITEADMINS, MEMBERS.]

Becoming a member of LXer is easy and free. Join Us!