Forrest logo
tool overview
On this page you find all important commands for the CLI tool scrot. If the command you are looking for is missing please ask our AI.

scrot

Scrot is a command line tool for capturing screenshots in Linux systems. It is a robust and lightweight tool that provides a simple way to take screenshots on the command line. Scrot allows users to capture the entire screen or a specific area of the screen by specifying the coordinates. It can be executed from the terminal or integrated into scripts for automation purposes. Scrot offers various options to customize the screenshot, such as setting a delay before capturing, providing a thumbnail version, or including the mouse pointer in the screenshot. The captured screenshots are saved in the specified directory, with the option to automatically generate a unique file name or specify a custom name. Scrot is widely used by Linux users and is often included in default installations of Linux distributions.

List of commands for scrot:

  • scrot:tldr:433b8 scrot: Capture a screenshot and save it as `capture.png`.
    $ scrot ${capture-png}
    try on your machine
    explain this command
  • scrot:tldr:4ea93 scrot: Display a countdown of 10 seconds before taking a screenshot.
    $ scrot --count --delay ${10}
    try on your machine
    explain this command
  • scrot:tldr:735ca scrot: Capture a screenshot and save it to the current directory with the current date as the filename.
    $ scrot
    try on your machine
    explain this command
  • scrot:tldr:95476 scrot: Capture a screenshot interactively.
    $ scrot --select
    try on your machine
    explain this command
  • scrot:tldr:e1606 scrot: Capture a screenshot from the currently focused window.
    $ scrot --focused
    try on your machine
    explain this command
tool overview