HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

scrot — Screen capture utility. More information: <https://manned.org/scrot>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
scrotcommandclimoreinformationscreencaptureutility
linux

Problem

How to use the scrot command: Screen capture utility. More information: <https://manned.org/scrot>.

Solution

scrot — Screen capture utility. More information: <https://manned.org/scrot>.

Capture a screenshot and save it to the current directory with the current date as the filename:
scrot


Capture a screenshot and save it as capture.png:
scrot capture.png


Capture a screenshot interactively:
scrot {{[-s|--select]}}


Capture a screenshot interactively without exiting on keyboard input, press <Esc> to exit:
scrot {{[-is|--ignorekeyboard --select]}}


Capture a screenshot interactively delimiting the region with a colored line:
scrot {{[-s|--select]}} {{[-l|--line]}} color={{x11_color|rgb_color}}


Capture a screenshot from the currently focused window:
scrot {{[-u|--focused]}}


Display a countdown of 10 seconds before taking a screenshot:
scrot {{[-c|--count]}} {{[-d|--delay]}} 10

Code Snippets

Capture a screenshot and save it to the current directory with the current date as the filename

scrot

Capture a screenshot and save it as `capture.png`

scrot capture.png

Capture a screenshot interactively

scrot {{[-s|--select]}}

Capture a screenshot interactively without exiting on keyboard input, press `<Esc>` to exit

scrot {{[-is|--ignorekeyboard --select]}}

Capture a screenshot interactively delimiting the region with a colored line

scrot {{[-s|--select]}} {{[-l|--line]}} color={{x11_color|rgb_color}}

Context

tldr-pages: linux/scrot

Revisions (0)

No revisions yet.