snippetbashTip
scrot — Screen capture utility. More information: <https://manned.org/scrot>.
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:
scrotCapture a screenshot and save it as
capture.png:scrot capture.pngCapture 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]}} 10Code Snippets
Capture a screenshot and save it to the current directory with the current date as the filename
scrotCapture a screenshot and save it as `capture.png`
scrot capture.pngCapture 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.