Scrot (Screenshot) is a software that you can install. This takes screenshots of the entire desktop and it saves the images to the home/pi directory.


To install, open the Terminal. Then type in:

sudo apt install scrot

When it asks Do you want to continue? (Y/n), type Y or y. It doesn't matter which case of Y you type.
It will start to download and install packages associated with Scrot.

Taking Screenshots

After it returns to the pi@raspberry:~ $ ▋ in the Terminal, type in scrot and hit Enter.


If you need the manual on how to use scrot, you can type man scrot. Or you can refer to below:

scrot(1)          command line screen capture utility          scrot(1)

       scrot - command line screen capture utility

       scrot [options] [file]

       scrot (SCReenshOT) is a simple command line screen capture utility that
       uses imlib2 to grab and save images. Multiple image  formats  are  sup‐
       ported through imlib2's dynamic saver modules.

       Some features of the scrot:

          •  support to multiple image formats (JPG, PNG, GIF, etc.).

          •  optimization of the screen shots image quality.

          •  capture a specific window or a rectangular area on the screen
         with the help of switch.

       scrot also can be used to monitor a desktop PC in admin absent and reg‐
       ister unwanted activities.

       -h, --help
          Display help output and exit.

       -v, --version
          Output version information and exit.

       -a, --autoselect
          Non-interactively choose a rectangle of x,y,w,h.

       -b, --border
          When selecting a window, grab wm border too.

       -c, --count
          Display a countdown when used with delay.

       -d, --delay NUM
          Wait NUM seconds before taking a shot.

       -e, --exec APP
          Exec APP on the saved image.

       -q, --quality NUM
          Image   quality (1-100) high value means high size, low compres‐
          sion. Default: 75. (Effect differs depending on file format cho‐

       -m, --multidisp
          For multiple heads, grab shot from each and join them together.

       -s, --select
          Interactively select a window or rectangle with the mouse.

       -u, --focused
          Use the currently focused window.

       -t, --thumb NUM
          Generate    thumbnail  too.  NUM is the percentage of the original
          size for the thumbnail to be.

       -z, --silent
          Prevent beeping.

       Both the --exec and filename parameters can take format specifiers that
       are  expanded  by scrot when encountered. There are two types of format
       specifier.  Characters preceded by  a  '%'  are    interpreted  by  strf‐
       time(2).  See  man  strftime for examples. These options may be used to
       refer to the current date and time. The second  kind  are  internal  to
       scrot and are prefixed by '$' The following specifiers are recognised:

       $f  image path/filename (ignored when used in the filename)
       $n  image name (ignored when used in the filename)
       $s  image size (bytes) (ignored when used in the filename)
       $p  image pixel size
       $w  image width
       $h  image height
       $t  image format
       $$  print a literal '$'
       \n  print a newline (ignored when used in the filename)

       scrot '%Y-%m-%d_$wx$h.png' -e 'mv $f ~/shots/'
          This    would    create     a    file   called   something   like
          2000-10-30_2560x1024.png and move it to your shots directory.

       scrot was originally developed by Tom Gilbert under MIT-advertising li‐

       Currently,   source   code   and   newer   versions  are  available  at

scrot-0.9             12 Feb. 2019                  scrot(1)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License