No description
  • C 89.8%
  • Makefile 4.3%
  • M4 3.3%
  • Shell 2.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Joao Eriberto Mota Filho dd78d1e622 Fix a typo
2026-03-13 22:37:41 -03:00
.github/workflows Update copyright notices 2026-03-13 21:52:45 -03:00
doc bring the logo up to speed and use it 2021-12-06 07:33:09 +00:00
etc Update copyright notices 2026-03-13 21:52:45 -03:00
man Updated manpage 2026-03-13 21:58:57 -03:00
src Update copyright notices 2026-03-13 21:52:45 -03:00
.cirrus.yml Update copyright notices 2026-03-13 21:52:45 -03:00
.clang-tidy disable misc-include-cleaner 2024-10-06 03:56:46 +06:00
.gitignore remove scrot_config remains 2023-05-22 23:45:49 +06:00
AUTHORS Added NRK 2024-06-09 21:29:18 -03:00
autogen.sh autogen: rewrite to be simpler and more robust 2023-10-21 20:04:30 +06:00
ChangeLog Updated Changelog, Prepare to release 2.0.0 2026-03-13 22:17:06 -03:00
configure.ac Prepare to release version 2.0.0 2026-03-13 22:05:00 -03:00
CONTRIBUTING.md link to some issue tags in CONTRIBUTING.md 2025-02-10 07:18:37 -03:00
COPYING Version 0.6 2019-02-12 14:28:27 -02:00
deps.pc use 4 windows for drawing --line mode=edge borders 2026-03-05 12:23:01 -05:00
FAQ.md add sleep to classic selection destroy as well (#378) 2024-05-31 03:06:46 +00:00
Makefile.am Fix a typo 2026-03-13 22:37:41 -03:00
README.md use 4 windows for drawing --line mode=edge borders 2026-03-05 12:23:01 -05:00
TODO.md TODO: add links to some notable github issue tags 2026-02-05 05:59:31 -08:00

Logo

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 supported by Imlib2.
  • 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-feh 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 CONTRIBUTING.md file.

Installing

scrot is available in the official repository of many linux/BSD distributions. It is recommended to use the system package manager for installing scrot. For example, Debian users can run the following command to install scrot:

$ sudo apt install scrot

A list of repositories that package scrot is available here. If your distribution does not package scrot, you may also build scrot from source by following the build instructions below.

Building

This section describes the steps to build and install scrot.

Dependencies

scrot requires a few projects and libraries:

The deps.pc file documents minimum version requirement for some of the libraries.

Generic installation instructions

If you are building from a git checkout, or if you have applied additional patches to a tarball release, run:

$ ./autogen.sh

TIP: if the source code does not have a configure file, you need to run ./autogen.sh.

If you have a tarball release, or after running the command above on a git checkout or a patched tarball, run:

$ ./configure && make

To install the compiled result, run as root:

# make install

Or, as a regular user:

$ sudo make install

Cleaning up the build is also simple:

$ make clean

To vanish the source code, removing all pre-built files, including configure, run:

$ make distclean

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

$ ./autogen.sh clean

Bash and Zsh completion scripts are available in etc/.

Author

scrot was originally developed by Tom Gilbert.

Currently, source code is maintained by volunteers. Newer versions are available at https://github.com/resurrecting-open-source-projects/scrot