screenSHotter – command line automatic screen capture


A shell script that automatically takes screenshots and saves them to a folder.

Useful for writing how-to’s with pictures of code or other visual examples.

Requires package scrot, will check and install if necessary.


1- Make sure the script is executable.

chmod +x

2- Invoke the script in a terminal and start capturing!


Default Options

– Screenshots are stored in ~/Pictures/ at a rate of one every 2 seconds

– Captures the active window (can be changed to the whole screen)

– Files are named via timestamp: %Y-%m-%d-%H:%M:%S.jpg

– Read the manual for scrot and modify the script as needed


screenshotter (2879 downloads )

Follow the project on GitHub!

1 comment

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.