There are several ways to capture a screenshot in Red Hat Enterprise Linux.
For Gnome Desktop user, use this command:
Or press the
PrtScrn key from the keyboard.
Using Red Hat Enterprise Linux 5 click the following:
Applications >> Accessories >> Take Screenshot
For *KDE Desktop * user, use the command:
The screencapture screen will appear and there's an option to change the filename and where to save the file.
Another way to capture screenshot is to use the
import command. The
import program can capture some or all of an X server screen and save the image to a file. Here are some sample commands on how to use
To capture the entire screen:
#import -window root filename.png
To select the region that you want to capture using mouse, use the command:
The import program is part of the ImageMagick package, if it's not yet installed, download the ImageMagick rpm package from Red Hat Network or use yum or up2date to download it automatically.
To see more options for the
import program open this file using a browser, such as firefox:
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.