scrot

From Wikipedia, the free encyclopedia
Original author(s)Tom Gilbert
Developer(s)
  • Tom Gilbert
  • Daniel T. Borelli
  • Guilherme Janczak
  • Joao Eriberto Mota Filho
Initial releaseOctober 26, 2000; 23 years ago (2000-10-26)
Stable release
1.10[1] Edit this on Wikidata / 10 June 2023; 10 months ago (10 June 2023)
Repository
Written inC
Operating systemUnix-like
PlatformX Window System
Available inEnglish
TypeScreen capturing
LicenseMIT-feh[2][3]
Websitewww.linuxbrit.co.uk/scrot/ website archives

scrot is a minimalist command line screen capturing application. It allows a substantial degree of flexibility by specifying parameters on command line,[4] including the ability to invoke a third-party utility to manipulate the resulting screenshot.[5]

Description[edit]

Features of the program include the ability to limit the scope of capturing to a specific screen area, to set the delay (if needed to capture some menu or another UI element which is shown only when focused) and to specify the filename template using wildcards (including those of the strftime function from the C standard library).[6] Other features include creating thumbnails of the taken screenshots and specifying the quality of the resulting image if lossy format is required.[7]

The scrot utility follows the UNIX philosophy principles formulated by Doug McIlroy: the only thing it does is screen capturing, though it allows one to specify a command for further manipulations of a resulting file.[8]

The ability to control scrot from the command line allows the user to run it over the network with tools like OpenSSH to get a screenshot of a remote desktop[9] or execute it as the window manager command binding.[10]

In February 2019, scrot was forked as part of the Resurrecting Open Source Project.[11] This updated fork is being used for the Arch Linux package of scrot.

As of version 1.8.1, 2023-01-21, scrot does not support Wayland-based systems because, by design, Wayland is more secure than X11 and does not allow one application to capture the content of other applications' windows.[12]

See also[edit]

References[edit]

  1. ^ "Release 1.10". 10 June 2023. Retrieved 1 July 2023.
  2. ^ "scrot/COPYING". github.com.
  3. ^ "feh License". spdx.org.
  4. ^ Gilbert, Tom (2000-10-26). "scrot - capture a screenshot using imlib2". Ubuntu Manpage. Retrieved 2015-10-02.
  5. ^ Kevan, Ben (2010-06-30). "screenshot with scrot – a command line tool for screenshots". Free Techie. Retrieved 2011-12-17.
  6. ^ Qian, Kurt (2009-07-06). "Using Scrot, the Screen Shot Command Line Utility for Linux". ITNewb. Retrieved 2011-12-17.
  7. ^ Deutsch, Karl (July 2007). Casad, Joe (ed.). "Type Cheese" (PDF). Linux Magazine (80). Munich, Germany: Linux New Media: 84, 85. Archived from the original (PDF) on 12 June 2012. Retrieved 2011-12-17.
  8. ^ "Take screenshots in Linux with Scrot". Linux And Friends. 2008-10-25. Retrieved 2011-12-17.
  9. ^ Ballas, Alex (2010-11-09). "Scrot and Team Viewer". Retrieved 2011-12-17.
  10. ^ Richmond, Gary (2007-09-04). "How to take screenshots with Scrot". Free Software Magazine. Retrieved 2011-12-17.
  11. ^ "Scrot 0.9, first release after the Resurrecting Open Source Project fork". 2019-02-12.
  12. ^ Fourdan, Olivier (2016-11-10). "Bug 98672 - screenshot tools like scrot or maim do not work under (gnome) wayland". freedesktop.org. Archived from the original on 2023-04-02. Retrieved 2023-04-01.