How do I capture a screenshot using Red Hat Enterprise Linux?
Issue
There are several ways to capture a screenshot in Red Hat Enterprise Linux.
For Gnome Desktop user, use this command:
#gnome-panel-screenshot
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:
#ksnapshot
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 import
.
To capture the entire screen:
#import -window root filename.png
To select the region that you want to capture using mouse, use the command:
#import filename.png
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:
/usr/share/doc/ImageMagick-x.x.x/www/import.html
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.