Scrot - Command-Line Screenshot Tool

Capture screenshots from the command line with Scrot. Easily take full screen, window, or selected area screenshots with custom delays and options.

Scrot - Command-Line Screenshot Tool

Scrot is a versatile command-line utility for capturing screenshots on Linux systems. It offers a simple yet powerful way to grab images of your screen, windows, or specific regions, making it an indispensable tool for developers, system administrators, and anyone who needs to document their graphical interface.

Capture Full Screen or Window

Scrot allows you to easily capture the entire screen or a specific active window. This is useful for creating documentation, reporting bugs, or sharing your work.

# Take screenshot of the current window.
scrot -u

# Take screenshot of the current window, including its border.
scrot -ub

Select Area for Capture

For more precise captures, Scrot enables you to select a rectangular area of your screen using your mouse. This feature is perfect for highlighting specific elements or sections of your display.

# Using a mouse, perform a rectangular selection of the screen to be captured.
scrot -s

Delayed Screenshots with Countdown

Scrot supports capturing screenshots after a specified delay, along with a visual countdown. This is invaluable when you need to set up a specific screen state before the capture occurs.

# Capture a screenshot after 5 seconds. A countdown is also displayed.
scrot -u -d 5 -c

Additional Resources

For more advanced usage and options, refer to the official Scrot documentation and related resources: