Scrot

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Scrot
Scrot 0.8-13.png
Scrot 0.8 taking a screenshot with delay and countdown parameters
Original author(s) Tom Gilbert
Developer(s) Tom Gilbert
Initial release 26 October 2000 (2000-10-26)
Stable release 0.8 / 23 June 2003; 11 years ago (2003-06-23)
Development status Unmaintained
Written in C
Operating system Unix-like
Platform X Window System
Available in English
Type Screen capturing
License BSD License
Website www.linuxbrit.co.uk/scrot/

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

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).[2] Other features include creating thumbnails of the taken screenshots and specifying the quality of the resulting image if lossy format is required.[3]

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.[4]

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[5] or execute it as the window manager command binding.[6]

Options[edit]

Like most UNIX utilities, scrot accepts parameters from command line:[3]

-h, --help
display help message
-v, --version
display version number
-b, --border
include window border in the screenshot
-c, --count
display a countdown timer when used with delay
-d, --delay seconds
delay the screen capturing
-e command
execute command after taking screenshot
-q, --quality percentage
set the quality/compression options for the output file
-m, --multidisp
capture of each of the Xinerama displays and join to the single output file
-s, --select
interactively select a window or rectangle with the mouse
-t, --thumb percentage
generate a thumbnail of the given size ratio

See also[edit]

References[edit]

  1. ^ Kevan, Ben (2010-06-30). "screenshot with scrot – a command line tool for screenshots". Free Techie. Retrieved 2011-12-17. 
  2. ^ Qian, Kurt (2009-07-06). "Using Scrot, the Screen Shot Command Line Utility for Linux". ITNewb. Retrieved 2011-12-17. 
  3. ^ a b Deutsch, Karl (July 2007). "TYPE CHEESE" (PDF). In Casad, Joe. Linux Magazine (Munich, Germany: Linux New Media) (80): 84, 85. Retrieved 2011-12-17. Lay summary. 
  4. ^ "Take screenshots in Linux with Scrot". Linux And Friends. 2008-10-25. Retrieved 2011-12-17. 
  5. ^ Ballas, Alex (2010-11-09). "Scrot and Team Viewer". Retrieved 2011-12-17. 
  6. ^ Richmond, Gary (2007-09-04). "How to take screenshots with Scrot". Free Software Magazine. Retrieved 2011-12-17.