Forrest logo
back to the gnome-screenshot tool

gnome-screenshot:tldr:00a34

gnome-screenshot: Take a screenshot after the specified number of seconds and save it to the clipboard.
$ gnome-screenshot --delay ${10} --clipboard
try on your machine

This command is used to take a screenshot of the current screen or a specific window in the GNOME desktop environment. Let's break down the components:

  • gnome-screenshot: This is the name of the command-line utility that allows you to capture screenshots in GNOME.

  • --delay ${10}: The --delay option is used to introduce a delay (in seconds) before the screenshot is taken. In this case, it is set to ${10}, which means the delay is set to 10 seconds. This gives you a grace period to set up the desired screen/window before capturing the screenshot.

  • --clipboard: The --clipboard option specifies that the screenshot should be saved directly to the clipboard instead of a file. This means the screenshot can be easily pasted into other applications.

By combining these options, the command will capture a screenshot after a 10-second delay and store it in the clipboard for easy pasting.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the gnome-screenshot tool