LinuxCommandLibrary

gnome-screenshot

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

TLDR

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

$ gnome-screenshot
copy


Take a screenshot and save it to the named file location
$ gnome-screenshot --file [path/to/file]
copy


Take a screenshot and save it to the clipboard
$ gnome-screenshot --clipboard
copy


Take a screenshot after the specified number of seconds
$ gnome-screenshot --delay [5]
copy


Launch the GNOME Screenshot GUI
$ gnome-screenshot --interactive
copy


Take a screenshot of the current window and save it to the specified file location
$ gnome-screenshot --window --file [path/to/file]
copy


Take a screenshot after the specified number of seconds and save it to the clipboard
$ gnome-screenshot --delay [10] --clipboard
copy


Display the version
$ gnome-screenshot --version
copy

SYNOPSIS


gnome-screenshot [ -c ] [ -w ] [ -a ] [ -b ] [ -B ] [ -p ] [ -d SECONDS ] [ -e EFFECT ] [ -i ] [ -f FILENAME ] [ --display DISPLAY ]

DESCRIPTION

gnome-screenshot is a GNOME utility for taking screenshots of the entire screen, a window or a user-defined area of the screen, with optional beautifying border effects.

OPTIONS

-c,--clipboard Send the grab directly to the clipboard.

-w,--window Grab the current active window instead of the entire screen.

-a,--area Grab an area of the screen instead of the entire screen.

-b,--include-border Include the window border within the screenshot.

-B,--remove-border Remove the window border from the screenshot.

-p,--include-pointer Include the pointer with the screenshot.

-d,--delay= SECONDS , Take the screenshot after the specified delay [in seconds].

-e,--border-effect= EFFECT , Add an effect to the outside of the screenshot border. EFFECT can be ``shadow'' (adding drop shadow), ``border'' (adding rectangular space around the screenshot), ``vintage'' (desaturating the screenshot slightly, tinting it and adding rectangular space around it) or ``none'' (no effect). Default is ``none''.

-i,--interactive Interactively set options in a dialog.

-f,--file= FILENAME Save screenshot directly to this file.

--display= DISPLAY X display to use.

-?,-h, --help Show a summary of the available options.

In addition, the usual GTK+ command line options apply. See the output of --help for details.

AUTHOR

This manual page was written by Christian Marillat <marillat@debian.org> for the Debian GNU/Linux system (but may be used by others).

Updated by Theppitak Karoonboonyanan <thep@linux.thai.net>, Tom Feiner <feiner.tom@gmail.com>, Cosimo Cecchi <cosimoc@gnome.org> and others.

Copied to clipboard