Forrest logo
back to the gnome-screenshot tool

gnome-screenshot:tldr:4c921

gnome-screenshot: Take a screenshot and save it to the default location, normally `~/Pictures`.
$ gnome-screenshot
try on your machine

The gnome-screenshot command is used in the GNOME desktop environment to take screenshots of the current screen or specific windows.

When executed, it captures the entire screen by default and saves the screenshot as an image file (usually in the PNG format) in the user's home directory. The filename is automatically generated with a timestamp to ensure uniqueness.

However, gnome-screenshot also supports various options to customize the behavior. Some commonly used options include:

  • --window: This option allows you to capture a specific window by clicking on it.
  • --area: Instead of capturing the entire screen, this option lets you select and capture a specific area by manually dragging the mouse.
  • --delay: It adds a delay in seconds before capturing the screenshot, allowing you to set up the desired screen state.
  • --file: This option allows you to specify a custom filename and location for the screenshot.

By combining these options, you can control what is captured and how it is saved. This command is particularly useful when you want to quickly capture and save images of your screen for sharing, documentation, or troubleshooting purposes.

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