cheat.sheets:scrot
# scrot
# Command-line screen capture utility
# Take screenshot of the current window.
scrot -u
# Take screenshot of the current window, including border.
scrot -ub
# Using a mouse, perform a rectangular selection of the screen to be captured.
scrot -s
# Capture a screenshot after 5 seconds. A countdown is also displayed.
scrot -u -d 5 -c
tldr:scrot
# scrot
# Screen capture utility.
# More information: <https://github.com/resurrecting-open-source-projects/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 --select
# Capture a screenshot from the currently focused window:
scrot --focused
# Display a countdown of 10 seconds before taking a screenshot:
scrot --count --delay 10
$
cheat.sh