Я знаю в человечности, я могу использовать использование приложения Снимка экрана, которое я могу взять снимок экрана для выбранного окна. Это означает, что существует приложение уже на человечности. Какова команда командной строки для того приложения? (Я знаю, что снимок экрана гнома позволяет нам сделать целый снимок экрана, но я хочу выбрать регион при делании снимка.)
Для захвата снимка экрана окна используйте эту команду
gnome-screenshot -w
Для захвата области используйте эту команду
gnome-screenshot -a
вот является ссылка для источника http://manpages.ubuntu.com/manpages/bionic/man1/gnome-screenshot.1.html
-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)
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.