commands.sh

gnome-screenshot

linux

Capture the screen, a window, or a user-defined area and save the image to a file.

More info →

Options (5)

-f, --fileboolean

Take a screenshot and save it to the named file location

Example: gnome-screenshot {{[-f|--file]}} {{path/to/file}}
-c, --clipboardboolean

Take a screenshot and save it to the clipboard

Example: gnome-screenshot {{[-c|--clipboard]}}
-d, --delayboolean

Take a screenshot after the specified number of seconds

Example: gnome-screenshot {{[-d|--delay]}} {{5}}
-i, --interactiveboolean

Launch the GNOME Screenshot GUI

Example: gnome-screenshot {{[-i|--interactive]}}
-w, --windowboolean

Take a screenshot of the current window and save it to the specified file location

Example: gnome-screenshot {{[-w|--window]}} {{[-f|--file]}} {{path/to/file}}

Examples (8)

Take a screenshot and save it to the default location, normally `~/Pictures`

Take a screenshot and save it to the named file location

gnome-screenshot [-f|--file] path/to/file

Take a screenshot and save it to the clipboard

gnome-screenshot [-c|--clipboard]

Take a screenshot after the specified number of seconds

gnome-screenshot [-d|--delay] 5

Launch the GNOME Screenshot GUI

gnome-screenshot [-i|--interactive]

Take a screenshot of the current window and save it to the specified file location

gnome-screenshot [-w|--window] [-f|--file] path/to/file

Take a screenshot after the specified number of seconds and save it to the clipboard

gnome-screenshot [-d|--delay] 10 [-c|--clipboard]

Display version

made by @shridhargupta | data from tldr-pages