If you need to take an image of a window or an area on the screen on a Linux system, one of the options available is to use the GNU Image Manipulation Program, which is a free and open-source graphics editor that is also available for FreeBSD, Mac OS X, Microsoft Windows, and Solaris systems.
You can determine if the application is already installed using the which command.
$ which gimp /bin/gimp $
If it isn't installed, on systems that use the
yum package management tool, such as
CentOS, you
can use the command yum install gimp
from the root
account to install it. On Linux distributions that use the
Advanced
Packaging Tool (APT) for package management, e.g.,
Ubuntu, you can use sudo apt-get install gimp
.
To take a snapshot of a window or an area of the screen, take the following steps:
- Click on File.
- Click on Create.
- Select Screenshot.
-
You can then select from the following:
- Take a screenshot of a single window
- Take a screenshot of the entire screen
- Select a region to grab
[ More Info ]