Scrot

Last updated
Original author(s) Tom Gilbert
Developer(s)
  • Tom Gilbert
  • Daniel T. Borelli
  • Guilherme Janczak
  • Joao Eriberto Mota Filho
Initial releaseOctober 26, 2000;22 years ago (2000-10-26)
Stable release
1.10 [1]   OOjs UI icon edit-ltr-progressive.svg / 10 June 2023;2 months ago (10 June 2023)
Repository
Written in C
Operating system Unix-like
Platform X Window System
Available inEnglish
Type Screen capturing
License MIT-feh [2] [3]
Website www.linuxbrit.co.uk/scrot/ website archives

scrot is a minimalist command line screen capturing application. It allows 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]

Contents

Description

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

Related Research Articles

<span class="mw-page-title-main">Cygwin</span> Unix subsystem for Windows machines

Cygwin is a Unix-like environment and command-line interface for Microsoft Windows. Cygwin's purpose is expressed in its motto: "Get that Linux feeling – on Windows".

In computing, a desktop environment (DE) is an implementation of the desktop metaphor made of a bundle of programs running on top of a computer operating system that share a common graphical user interface (GUI), sometimes described as a graphical shell. The desktop environment was seen mostly on personal computers until the rise of mobile computing. Desktop GUIs help the user to easily access and edit files, while they usually do not provide access to all of the features found in the underlying operating system. Instead, the traditional command-line interface (CLI) is still used when full control over the operating system is required.

<span class="mw-page-title-main">GNU Project</span> Free software project

The GNU Project is a free software, mass collaboration project announced by Richard Stallman on September 27, 1983. Its goal is to give computer users freedom and control in their use of their computers and computing devices by collaboratively developing and publishing software that gives everyone the rights to freely run the software, copy and distribute it, study it, and modify it. GNU software grants these rights in its license.

Print Screen is a key present on most PC keyboards. It is typically situated in the same section as the break key and scroll lock key. The print screen may share the same key as system request.

<span class="mw-page-title-main">Tiling window manager</span> Window manager with non-overlapping frames

In computing, a tiling window manager is a window manager with an organization of the screen into mutually non-overlapping frames, as opposed to the more common approach of coordinate-based stacking of overlapping objects (windows) that tries to fully emulate the desktop metaphor.

<span class="mw-page-title-main">SUSE Linux Enterprise</span> Linux distribution

SUSE Linux Enterprise is a Linux-based operating system developed by SUSE. It is available in two editions, suffixed with Server (SLES) for servers and mainframes, and Desktop (SLED) for workstations and desktop computers. Its major versions are released at an interval of 3–4 years, while minor versions are released about every 12 months. SUSE Linux Enterprise products receive more intense testing than the upstream openSUSE community product, with the intention that only mature, stable versions of the included components will make it through to the released enterprise product.

A compositing manager, or compositor, is software that provides applications with an off-screen buffer for each window. The compositing manager composites the window buffers into an image representing the screen and writes the result into the display memory. A compositing window manager is a window manager that is also a compositing manager.

In computing, a keyboard shortcut is a sequence or combination of keystrokes on a computer keyboard which invokes commands in software.

A desktop environment is a collection of software designed to give functionality and a certain look and feel to an operating system.

<span class="mw-page-title-main">GNOME Screenshot</span> Utility used in the GNOME desktop environment for taking screenshots

GNOME Screenshot is a desktop environment-agnostic utility for taking screenshots. It was part of the GNOME Utilities (gnome-utils) package, but was split into its own package for the 3.3.1 version in 2011. It was the default screenshot software in GNOME.

<span class="mw-page-title-main">PackageKit</span>

PackageKit is a free and open-source suite of software applications designed to provide a consistent and high-level front end for a number of different package management systems. PackageKit was created by Richard Hughes in 2007, and first introduced into an operating system as a default application in May 2008 with the release of Fedora 9.

<span class="mw-page-title-main">GNOME Do</span>

GNOME Do is a free and open-source application launcher for Linux originally created by David Siegel, and currently maintained by Alex Launi. Like other application launchers, it allows searching for applications and files, but it also allows specifying actions to perform on search results. GNOME Do allows for quick finding of miscellaneous artifacts of GNOME environment and execute the basic actions on them.

<span class="mw-page-title-main">GNOME 3</span> Third major release of GNOME

GNOME 3 is the third major release of the GNOME desktop environment. A major departure from technologies implemented by its predecessors, GNOME 3 introduced a dramatically different user interface. It was the first GNOME release to utilize a unified graphical shell known as GNOME Shell. It also introduced support for the Wayland display protocol and added integration with other key technologies such as Flatpak during its development lifecycle.

<span class="mw-page-title-main">Wayland (protocol)</span> Display system intended to replace X11

Wayland is a communication protocol that specifies the communication between a display server and its clients, as well as a C library implementation of that protocol. A display server using the Wayland protocol is called a Wayland compositor, because it additionally performs the task of a compositing window manager.

<span class="mw-page-title-main">GNOME</span> Desktop environment for Linux and other Unix-like systems

GNOME, originally an acronym for GNU Network Object Model Environment, is a free and open-source desktop environment for Linux and other Unix-like operating systems.

<span class="mw-page-title-main">MATE (software)</span> Desktop environment forked from GNOME 2

MATE is a desktop environment composed of free and open-source software that runs on Linux, BSD, and illumos operating systems.

<span class="mw-page-title-main">Budgie (desktop environment)</span> Desktop environment for Unix-like operating systems

Budgie is an independent, free and open-source desktop environment for Linux and other Unix-like operating systems that targets the desktop metaphor. Budgie is developed by the Buddies of Budgie organization, which is composed of a team of contributors from Linux distributions such as Fedora, Debian, and Arch Linux. Its design emphasizes simplicity, minimalism, and elegance, while providing the means to extend or customize the desktop in various ways. Unlike desktop environments like Cinnamon, Budgie does not have a reference platform, and all distributions that ship Budgie are recommended to set defaults that best fit their desired user experience.

postmarketOS Free and open-source operating system for smartphones, based on Alpine Linux

postmarketOS is an operating system primarily for smartphones, based on the Alpine Linux distribution.

References

  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 . Munich, Germany: Linux New Media (80): 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.