2025-03-14 21:59:59 -06:00
|
|
|
# scrot
|
|
|
|
|
|
|
|
|
|
> Screen capture utility.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://manned.org/scrot>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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`:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`scrot capture.png`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Capture a screenshot interactively:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`scrot {{[-s|--select]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
- Capture a screenshot interactively without exiting on keyboard input, press `<Esc>` to exit:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`scrot {{[-is|--ignorekeyboard --select]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Capture a screenshot interactively delimiting the region with a colored line:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`scrot {{[-s|--select]}} {{[-l|--line]}} color={{x11_color|rgb_color}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Capture a screenshot from the currently focused window:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`scrot {{[-u|--focused]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display a countdown of 10 seconds before taking a screenshot:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`scrot {{[-c|--count]}} {{[-d|--delay]}} 10`
|