This post provides shortcuts for taking screenshots on Linux (including Ubuntu, CentOS, and RegHat).
The command is the same for Ubuntu, CentOS, RedHat. (Check HERE for screenshot shortcuts on Mac.)
-
Using Gnome Screenshot
-
- Press PrtScn to take a fullscreen screenshot to a PNG file (normally the screenshot file is saved in the Pictures folder.)
- Press Alt+PrtScn to take a screenshot of an active window. This shortcut will create a screenshot of your active window as a PNG file. The file will be saved in your Pictures folder.
- Press Shift+PrtScn to capture a customized screen area. You’ll be able to click and drag a selection box to determine what is captured in the screenshot. A PNG file with the image you captured will be saved in your Pictures folder.
- Press Shift+CTRL +PrtScn to copy what you customized area capture to clipboard.
- Press PrtScn to take a fullscreen screenshot to a PNG file (normally the screenshot file is saved in the Pictures folder.)
-
- More advanced functions:
The Gnome Screenshot utility allows you to perform some additional screenshot functions, such as adding a delay, and add tooltip.
Open the Screenshot utility. You can find the Screenshot utility in the Accessories folder of your Applications menu.
-
-
- Select your screenshot type. You can choose from any of the options outlined above.
-
(Ubuntu)
-
(RedHat)
-
- Add a delay. If your screenshot is time-dependent, you can use the Screenshot utility to add a delay before the screenshot is captured. This will allow you to make sure the right content is on the screen.
-
(Ubuntu)
-
(RedHat)
-
- Select your effects. You can choose to include your mouse pointer in the screenshot, as well as whether or not you want to add a border to the screenshot.
- Select your screenshot type. You can choose from any of the options outlined above.
-
(Ubuntu)
(RedHat)
-
Using GIMP
GIMP (GNU Image Manipulation Program) is a freely distributed software for manipulating images. We can easily optimize the image, convert their type using GIMP. It provides the power and flexibility to designers to transform images into truly unique creations. GIMP is the cross platforms application and available for Linux, Windows, MAC OS, and FreeBSD etc.
Install GIMP
You can get it for free using your Software Center. Open the Software Center, search for “gimp”, and then install the “GIMP Image Editor”.
For installing GIMP from command line on Ubuntu, check my post HERE.
Click the “File” menu and select “Create” → “Screenshot”.
The screenshot creation tool will open. This tool is very similar to the Gnome Screenshot utility.
Select the type of screenshot you want to take.
You can choose to take three different types of screenshots: single window, full-screen, or custom selection. If you choose the single window option, you’ll be able to click the window that you want to take a screenshot of.
(Ubuntu)
(RedHat)
Add a delay.
You can add a delay before the screenshot is taken so that you can arrange everything exactly how you want it. If you have single window or custom screenshots selected, you’ll choose your screenshot target after the delay timer runs out.
Click “Snap” to take the screenshot.
Depending on your settings, the screenshot may be taken immediately. When you’re finished, the screenshot will open in the GIMP editing window.
Save the screenshot. If you don’t want to make any edits to the screenshot, you can save it to your hard drive. Click the “File” menu and select “Export”. Give the screenshot a name and choose where you would like to save it. Click the “Export” button once you are satisfied.
References
4 Ways to Take a Screenshot in Linux (with Pictures) – wikiHow (PDF)