Ubuntu uses the gnome-screenshot command to capture the screen, window, or specified area

Source: Internet
Author: User

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:

  • 1
  • 2
  • Next Page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.