If you want to take a screenshot or screenshot of the Raspberry Pi, you can do this by Scrot the command line. Then through the Picture Viewer program Shotwell can view the picture.
1. Installation
To install Scrot on Raspbian:
Command: sudo apt-get install Scrot
Install the Shotwell that can open screenshots via the terminal:
Command: sudo apt-get install Shotwell
2. Common Commands
Capture the entire screen: Scrot (the default name for capturing a picture usually has a date time and resolution, such as "2016-10-10-062821_1024x768_scrot.png")
Specifies the name of the captured picture: Scrot example.png (then the file name will be called "example", the extension should not be lost, and also change the extension can not change the file format)
Specify file location: Scrot/home/pi/desktop/example.png (screenshot file "Example.png" will be saved in "/home/pi/desktop/", note that only the path does not have a file name is not possible)
Capture part of a picture: Scrot-s then drag the area you want to take a screenshot of (Scrot-s/home/pi/desktop/example.png named and specified path)
Countdown screenshot: scrot-d 10 countdown 10 seconds screenshot. (SCROT-CD 10 Display Countdown)
Other commands:-H show more help
-V Get Current version
-D x Add x second delay shot
-C Add a countdown delay shot
-S allows users to capture specific areas with the mouse
-U snaps the current active window
-Q x Specifies the percentage of image quality X (default 75)
-T x create a thumbnail with a percent size of X
-e Specify a command to run after the screenshot
Open screenshot: Navigate to the picture directory, Shotwell "Example.png Open screenshot