commands.sh

scrot

linux

Screen capture utility.

More info →

Options (6)

-s, --selectboolean

Capture a screenshot interactively

Example: scrot {{[-s|--select]}}
boolean

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

Example: scrot {{[-is|--ignorekeyboard --select]}}
-l, --lineboolean

Capture a screenshot interactively delimiting the region with a colored line

Example: scrot {{[-s|--select]}} {{[-l|--line]}} color={{x11_color|rgb_color}}
-u, --focusedboolean

Capture a screenshot from the currently focused window

Example: scrot {{[-u|--focused]}}
-c, --countboolean

Display a countdown of 10 seconds before taking a screenshot

Example: scrot {{[-c|--count]}} {{[-d|--delay]}} 10
-d, --delayboolean

Display a countdown of 10 seconds before taking a screenshot

Example: scrot {{[-c|--count]}} {{[-d|--delay]}} 10

Examples (7)

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

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
made by @shridhargupta | data from tldr-pages