Knowledge Base Glossary       Exit
(how to) Search  

Browse by Category
Knowledge Base > Products > Image for Linux > FAQ > How to create screen shots in IFL (GUI)

How to create screen shots in IFL (GUI)

As of version 2.89, the IFL (GUI) boot disk contains the 'scrot' command line utility to create screenshots. This utility can be run by opening a terminal window and running 'scrot', along with any desired options. The command line options available are summarized below, followed by a few examples of using it.

Usage : scrot [OPTIONS]... [FILE]
  Where FILE is the target file for the screenshot.
  If FILE is not specified, a date-stamped file will be dropped in the
  current directory.
  (See 'man scrot' on a Linux distribution for more details)
  -h, --help                display this help and exit
  -v, --version            output version information and exit
  -b, --border            When selecting a window, grab wm border too
  -c, --count              show a countdown before taking the shot
  -d, --delay NUM     wait NUM seconds before taking a shot
  -e, --exec APP        run APP on the resulting screenshot
  -q, --quality NUM  Image quality (1-100) high value means
                                high size, low compression. Default: 75.
                                For lossless compression formats, like png,
                                low quality means high compression.
  -m, --multidisp      For multiple heads, grab shot from each
                                and join them together.
  -s, --select             interactively choose 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,
                                 or the geometry in percent, e.g. 50x60 or 80x20.
  -z, --silent               Prevent beeping
 

Basic examples of usage:

1. Capture entire desktop to a time stamped PNG file:

     scrot

2. Capture entire desktop to a specified filename:

     scrot  filename.png

3. Capture window selected by the mouse to a time stamped PNG file:

    scrot -s

 

Saving screenshot files:

All files will be saved to the /tbu directory unless otherwise specified in the filename path on the command line. The contents of the /tbu directory can be viewed by using Midnight Commander (MC icon), or by running the 'ls' command in a terminal window.

Since the files in /tbu only exist in RAM on the running boot disk, they will be lost when the system is rebooted or powered down. The files can be saved from the running boot disk by using the 'mnt' icon (Mount Drive or Partition) to mount a drive/partition, or the 'net1' icon (Mount Network Shares) to mount a network share, and then using Midnight Commander to copy the files to the mounted file system.

 


How helpful was this article to you?


powered by Lore