scrot  1.7
About: scrot (SCReenshOT) is a simple command line screen capture utility using imlib2 to grab and save images.
  Fossies Dox: scrot-1.7.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

scrot Documentation

Some Fossies usage hints in advance:

  1. To see the Doxygen generated documentation please click on one of the items in the steelblue colored "quick index" bar above or use the side panel at the left which displays a hierarchical tree-like index structure and is adjustable in width.
  2. If you want to search for something by keyword rather than browse for it you can use the client side search facility (using Javascript and DHTML) that provides live searching, i.e. the search results are presented and adapted as you type in the Search input field at the top right.
  3. Doxygen doesn't incorporate all member files but just a definable subset (basically the main project source code files that are written in a supported language). So to search and browse all member files you may visit the Fossies scrot-1.7.tar.bz2 contents page and use the Fossies standard member browsing features (also with source code highlighting and additionally with optional code folding).

scrot (SCReenshOT)

scrot - command line screen capture utility

What is scrot?

scrot is a simple command line screen capture utility, it uses imlib2 to grab and save images.

scrot has many useful features:

  • Support for multiple image formats: JPG, PNG, GIF, and others.
  • The screenshot's quality is configurable.
  • It is possible to capture a specific window or a rectangular area on the screen.

Because scrot is a command line utility, it can easily be scripted and put to novel uses. For instance, scrot can be used to monitor an X server in absence.

scrot is free software under the MIT-advertising license.

Help this project

scrot needs your help. If you are a programmer and want to help a nice project, this is your opportunity.

The original scrot went unmaintained; the source of the last version, 0.8, was imported from Debian. After, patches from Debian and elsewhere were applied to create the 0.9 release. The details of our releases are registered in the ChangeLog file. Now, scrot is maintained by volunteers under Resurrecting Open Source Projects.

If you are interested in helping scrot, read the file.


scrot requires a few projects and libraries:

From a Unix command line, building is simple:

$ ./
$ ./configure
$ make

Cleaning up the build is also simple:

$ make distclean

You can return to a pristine source tree before running ./configure:

$ ./ clean


If you've built scrot from source, scrot needs to be installed from a root shell:

# make install

Debian users can install scrot from their package manager:

$ sudo apt install scrot


scrot was originally developed by Tom Gilbert.

Currently, source code is maintained by volunteers. Newer versions are available at