EnglishFrenchSpanish

OnWorks favicon

scrot - Online in the Cloud

Run scrot in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command scrot that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


scrot - capture a screenshot using imlib2

SYNOPSIS


scrot [options] [file]

DESCRIPTION


scrot is a screen capture utility using the imlib2 library to aquire and save images.
scrot has a few options, detailed below. Specify [file] as the filename to save the
screenshot to. If [file] is not specified, a date-stamped file will be dropped in the
current directory.

OPTIONS


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

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

-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 compression. Default: 75.
(Effect differs depending on file format chosen).

-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.

SPECIAL STRINGS


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 interpretted by strftime(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
$$ prints a literal '$'
\n prints a newline (ignored when used in the filename)

EXAMPLE


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.

Use scrot online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad