In our daily work, we often need to capture the screen status for others to see. Generally, we can directly think of using the "Print Screen SysRq" key on the keyboard to directly capture the Screen into the memory, then paste the graph in memory in other tools. However, in Ubuntu, when you open a program's drop-down menu, you will find that there is a problem with screenshots In Ubuntu. At present, this problem has not been well solved, so what should we do. After some searches and queries, I found a program that can implement screenshot through the command line. gnome-screenshot (In The Gnome Desktop Environment) can easily capture the screen we need, you can capture the entire screen, current window, or area.
Next we will test these functions one by one. There are a total of six examples for you to understand this command and tool:
1. capture the entire Screen
Capturing the entire screen should be a very common requirement. You only need to run the following command to capture the entire screen using gnome-screenshot:
Www.bkjia.com @ www.bkjia.com :~ $ Gnome-screenshot
The above is my current entire desktop.
2. capture the current Shell window using the-w Parameter
In the above example, we capture the status of the entire screen. If we only want to capture the Shell window of the current activity, we can add the-w parameter on the command to achieve this:
Www.bkjia.com @ www.bkjia.com :~ $ Gnome-screenshot-w
You can see that only the currently running Shell window is shown above.
3. Use the-a parameter to capture the Specified Region
Capturing a specified area should be more frequently used than the entire desktop and specified window.
Www.bkjia.com @ www.bkjia.com :~ $ Gnome-screenshot-
After running this command, you should see that your mouse pointer has changed. You just need to move the mouse to the desired area and click and drag it out, when you release the mouse, you will get an area.
You can see that the image above is only a little tall.
See the next page: