scrot
{{Short description|Command-line screen capturing application}}
{{lowercase title}}
{{Infobox software
| name = scrot
| title =
| logo =
| screenshot = scrot 0.8-13.png
| screenshot size = 250px
| caption = scrot 0.8 taking a screenshot with delay and countdown parameters
| collapsible =
| author = Tom Gilbert
| developer = {{plainlist|
- Tom Gilbert
- Daniel T. Borelli
- Guilherme Janczak
- Joao Eriberto Mota Filho}}
| released = {{Start date and age|2000|10|26|df=no}}
| discontinued =
| latest release version = {{wikidata|property|edit|reference|P348}}
| latest release date = {{start date and age|{{wikidata|qualifier|P348|P577}}}}
| latest preview version =
| latest preview date =
| programming language = C
| operating system = Unix-like
| platform = X Window System
| size =
| language = English
| genre = Screen capturing
| license = MIT-feh{{cite web|url=https://github.com/resurrecting-open-source-projects/scrot/blob/master/COPYING|title=scrot/COPYING|website=github.com}}{{cite web|url=https://spdx.org/licenses/MIT-feh.html|title=feh License|website=spdx.org}}
| website = [https://web.archive.org/web/2018*/http://www.linuxbrit.co.uk/scrot/ www.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, including the ability to invoke a third-party utility to manipulate the resulting screenshot.
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). Other features include creating thumbnails of the taken screenshots and specifying the quality of the resulting image if lossy format is required.
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.
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 or execute it as the window manager command binding.
In February 2019, scrot was forked as part of the Resurrecting Open Source Project. 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.{{cite web
| url = https://bugs.freedesktop.org/show_bug.cgi?id=98672
| title = Bug 98672 - screenshot tools like scrot or maim do not work under (gnome) wayland
| last = Fourdan
| first = Olivier
| date = 2016-11-10
| website = freedesktop.org
| publisher =
| access-date = 2023-04-01
| archive-url = https://archive.today/20230402031141/https://bugs.freedesktop.org/show_bug.cgi?id=98672
| archive-date = 2023-04-02 }}
See also
References
{{reflist|refs=
|url = http://www.freesoftwaremagazine.com/articles/how_to_take_screenshots_with_scrot
|title = How to take screenshots with Scrot
|first = Gary
|last = Richmond
|work = Free Software Magazine
|date = 2007-09-04
|access-date = 2011-12-17
}}
|url = http://manpages.ubuntu.com/manpages/vivid/man1/scrot.1.html
|title = scrot - capture a screenshot using imlib2
|first = Tom
|last = Gilbert
|date = 2000-10-26
|work = Ubuntu Manpage
|access-date = 2015-10-02
}}
|url = http://www.itnewb.com/v/Using-Scrot-the-Screen-Shot-Command-Line-Utility-for-Linux
|title = Using Scrot, the Screen Shot Command Line Utility for Linux
|first = Kurt
|last = Qian
|work = ITNewb
|date = 2009-07-06
|access-date = 2011-12-17
}}
|url = http://linuxandfriends.com/2008/10/25/take-screenshots-in-linux-with-scrot/
|title = Take screenshots in Linux with Scrot
|work = Linux And Friends
|date = 2008-10-25
|access-date = 2011-12-17
}}
|url = http://www.freetechie.com/blog/screenshots-with-scrot-a-command-line-tool-for-screenshots/
|title = screenshot with scrot – a command line tool for screenshots
|first = Ben
|last = Kevan
|work = Free Techie
|date = 2010-06-30
|access-date = 2011-12-17
}}
|url = http://www.linux-magazine.com/w3/issue/80/Console_Screenshots_with_Scrot.pdf
|format = PDF
|title = Type Cheese
|first = Karl
|last = Deutsch
|editor-first = Joe
|editor-last = Casad
|date=July 2007
|journal = Linux Magazine
|issue = 80
|location = Munich, Germany
|publisher = Linux New Media
|access-date = 2011-12-17
|pages = 84, 85
|archive-url= https://web.archive.org/web/20120612100831/http://www.linux-magazine.com/w3/issue/80/Console_Screenshots_with_Scrot.pdf
|archive-date= 12 June 2012
|url-status= dead
}}
|url = http://www.alex.ballas.org/2010/11/09/scrot-and-team-viewer/
|title = Scrot and Team Viewer
|first = Alex
|last = Ballas
|date = 2010-11-09
|access-date = 2011-12-17
}}
|url = https://github.com/resurrecting-open-source-projects/scrot/releases/tag/0.9
|title = Scrot 0.9, first release after the Resurrecting Open Source Project fork
|date = 2019-02-12
}}
}}