Screen Capture

scrot – command-line screen capture utility

scrot (SCReenshOT) is a command-line screenshot utility for X11. It uses Imlib2 to capture the desktop and save images, making it useful for keyboard shortcuts, shell scripts and automated screenshot workflows.

The application can capture the whole desktop, a particular window or a rectangular selection. It also supports multi-monitor environments and can produce a screenshot without asking the user to interact with the selection interface.

scrot offers considerable control over how screenshots are produced and saved. Its configurable selection behaviour is useful when capturing particular applications, while its naming and output options make it straightforward to incorporate into scripts.

This is free and open source software.

Key Features

  • Captures entire desktops, active windows, windows specified by ID and interactive or predefined rectangular regions.
  • Selects individual monitors using Xrandr monitor numbering, and supports captures across multiple displays.
  • Saves screenshots in PNG, JPEG, GIF and other image formats supported by Imlib2.
  • Offers adjustable image quality and compression settings, with separate controls for applicable output formats.
  • Creates scaled thumbnail images alongside full-size screenshots using a percentage or explicit dimensions.
  • Supports configurable capture delays, an optional countdown and a frozen screen during region selection.
  • Provides selection-border appearance options, including line styles and DPI-aware default border width.
  • Can include the mouse pointer and window-manager borders in captures.
  • Supports overlapping-window captures and configurable horizontal or vertical stacking when a suitable compositor is running.
  • Sends image data to standard output for pipelines, runs a specified command on the saved screenshot and supports formatted filenames.
  • Offers Bash and Zsh shell completions for command-line use.

Website: github.com/resurrecting-open-source-projects/scrot
Support:
Developer: Tom Gilbert, Daniel T. Borelli, Guilherme Janczak, Joao Eriberto Mota Filho
License: MIT-feh License

scrot is written in C. Learn C with our recommended free books and free tutorials.


Related Software

CLI Screen Capture Tools
maimMake Image aims to improve on scrot
scrotSCReenshOT is a simple command line screen capture utility
slopQueries for a selection from the user and prints the region to stdout
wayshotScreenshot tool for wayland compositors
termframeTerminal output SVG screenshot tool
grimUtility to take screenshots of Wayland desktops
shotmanUncompromising screenshot tool for Wayland compositors
shotgunMinimal screenshot utility
ImageMagickCreate, edit, and compose bitmap images
HyprCapCapture screenshots and screen recordings on Hyprland
grimblastCapture windows, selected areas, and screens on Hyprland
lqthSimple but fast screenshot utility inspired by xscreenshot
grimshotCapture windows, selected areas, and screens under Sway

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted