take-a-screenshot-on-linux

Linux has now become quite popular for its features. But taking screenshots is not as straightforward as the other operating system.

Because there is no universal screenshot utility installed in Linux to take screenshots. Luckily, most Linux operating systems include at least one program to take screenshots on it.

If you do not have one then there are more available. You can get several ways to take screenshots on Linux.

In this article, we will show you different methods of taking screenshots on Linux. So no more talk let’s check out the methods.

Take Screenshots on Linux

There are lots of ways to take screenshots on a Linux computer. You can capture the entire screen, window, or select area to grab.




Some keyboard shortcuts to take a screenshot on Linux

This method is the default way to take screenshots on Linux. Here we will tell you some keyboard shortcuts so that you can take screenshots of a specific portion, a specific window, or the whole screen.

This method will be helpful to you if you just want a simple screenshot without any annotations/fancy editing capabilities. This method is not only for Ubuntu.

Here’s the list of these keyboard shortcuts and what type of screenshot they will take:

PrtSc – This shortcut will take a screenshot of the whole screen and it will be saved in the ‘Pictures’ directory.

Shift + PrtSc – This keyboard is for a region to pictures.

Alt + PrtSc  – This one will save the current window to pictures.

Ctrl + PrtSc – If you want to copy the screenshot of the whole screen to the clipboard then you can try this.

Shift + Ctrl + PrtSc – This is for copy the screenshot of a specific region to the clipboard.

Ctrl + Alt + PrtSc – This is the last keyboard shortcut to Copy the screenshot of the current window to the clipboard.

Almost every Linux distribution and environment of desktop support these keyboard shortcuts.

Take a screenshot on Linux with Flameshot

Flamshot is quite an impressive screenshot tool which was arrived on GitHub in 2019.

If you want to do basic editing to your screenshot then you don’t have to rely on separate programs for it if you use the Flamshot tool. With it, you can do it after you grab a screenshot before saving it.

To working with Flamshot you have first installed it. If you want to install it in Ubuntu then you have to just search for it

If you want to install it on Ubuntu, you just need to search for it on Ubuntu Software center and get it installed. In this case, if you want to use the terminal, here’s the command for it:

$ sudo apt install flameshot

Also, you can follow their official instruction on Github. Now search for Flameshot and launch it.

If you would like to trigger the Flamshot by using the PrtSc Key, then you have to assign a custom keyboard shortcut.




Trigger Flameshot using PrtSc

At first head to the System settings and go to the Keyboard settings.

Here you will find all the keyboard shortcuts listed, just ignore them and scroll down to the bottom.

Now you will find an Add custom shortcut button.

Click that button to add a custom shortcut. Enter the following in the fields you get:

Name: put a name that you wish for.

Command: /usr/bin/flameshot gui

And at the very least, set the shortcut to PrtS will warn you that the default screenshot functionality will be disabled. so proceed to do it.

Take a screenshot on Linux with Shutter

The shutter is a popular screenshot program that contains some advanced capabilities for upload and editing.

If you often take screenshots and share them with others then this is the perfect program that you can try.

To take screenshots with Sutter you have to first install it. To install Shutter on your Linux computer open the terminal on Debian based Linux distribution and run those commands one by one to install Shutter on your Linux computer:

$ sudo add-apt-repository ppa:shutter/ppa

$ sudo apt-get update

$ sudo apt-get install shutter

After the installation process along the top of the Shutter. You can see the three options that you can pick from: “Selection”, “Desktop” and “Window”. Click one of them to take the screenshot of that type of you want.

Take your screenshot and that will be saved automatically to your Pictures folder.

You can edit the screenshot after you take it by the Shutter editor. After you take the screenshot a preview will be shown in the Shutter window. If you want to edit then click the Edit button to open the Shutter editor.

You can also use the editor to highlight things on the screenshot or to make notations. At last, click “Save” when you are finished working.




Now export the screenshot. You can send the screenshot to an image upload service, or add it to an FTP server to upload.

Here click the “Export” button to open the Export menu.

In the “Public hosting” tab, you’ll prefer to upload the screenshot to your Dropbox account or a spread of online image hosting websites. you will be asked for your account credentials once you select one.

In the “FTP” tab, you’ll enter the connection information for your FTP server, which is beneficial if you post screenshots on a blog or website.

In the “Places” tab, you’ll move the screenshot to a different location on your computer or network.

Take a screenshot on Linux using GIMP

GIMP (GNU Image Manipulation Program) is now a famous tool to take screenshots and edit them. It is a free image editor that comes installed on Linux distributions.

As a user of Linux GIMP can be a perfect option to choose for you. In general, GIMP comes with your Linux distribution by default. If you do not have Gimp installed on your device head into the software center in your Linux computer to install it

If you also realize that then here’s the way to take a screenshot on Linux using GIMP:

Step-1: Open GIMP from your application manager.

Step-2: Now navigate by File->Create->Screenshot.

Step-3: After clicking the screenshot option you will able to see a little window appeared on your screen.

Step-4: Now minimize the main GIMP window.

Step-5: There is a couple of options to take a screenshot using GIMP. You can select are to grab or a single window and capture your entire screen.

Step-6: The last step is to export your screenshot File->Export as select location and save it.

The main advantage of taking screenshots using GIMP is you can edit or manipulate your screenshot while capturing it.




Take a screenshot on Linux using command-line tool(Gnome Screenshot)

Gnome screenshot is the default command-line utility to take screenshots on every  Linux distribution. It is made for Gnome Desktops, it is also available for other desktop-like cinnamon or KDE Plasma.

This is the best tool to take screenshots who loved working with the terminal. There are lots of options available to take screenshots in the Gnome Screenshot utility.

Press Ctrl+Alt+T to open the terminal or search on the application manager. Now run this simple command to take a screenshot:

$ gnome-screenshot

Also, you can add a -d flag for screenshot delay. Just type gnome-screenshot -d 5 to delay your screenshot for 5 seconds.

Take a screenshot on Linux Using ImageMagick

The ImageMagick is a command-line utility that can capture screenshots for you.

But when people think about it many people don’t realize it’s a full-blown image-processing tool, it’s been around for decades, or that it can also grab screenshots.

And today now that’s “subverting our expectations!”

Many distributions of Linux have come with ImageMagick already installed, If you don’t have then you can install it with the terminal.

For that go to terminal and type:

sudo apt-get install imagemagick

And then press ↵ Enter. Here you will be prompted for your administrator password. And your ImageMagick is installed.




Here’s the way to take a screenshot of the entire screen with it:

If you want to take a screenshot of the entire screen then you have to type the below command and press s ↵ Enter.

 import -window root Pictures/fileName.png

You can replace fileName with the name that you want to give the screenshot.

Here’s the way to take a screenshot of a specific window with it:

If you want to take a screenshot of a specific window on your Linux computer then you have to type this below command and then have to press  ↵ Enter.

 import Pictures/fileName.png

As we say before replacing the filename with the name that you want to give the screenshot.

After that now the pointer will turn into a crosshair, and you can click the window that you want to capture.

Here’s the way to add a delay to take a screenshot with it:

Sometimes we have to set a delay to the screenshot so that we can get the exact one. In this condition, if we don’t know how to add a delay to the screenshot then it will be a matter of hassle.

But nothing to worry about, you can simply do it by this below command and then press  ↵ Enter.

import -window root -pause # Pictures/fileName.png

Here replace # with the number of seconds that you want to wait before the screenshot is taken.

Then wait for the time that you have decided, the screenshot will be taken and you will be returned to the terminal prompt.

Take a screenshot on Linux by Kazam

Kazam is really a wonderful tool for taking screenshots on Linux. With this, you can capture or record the screen of your computer And it could be the entire screen or a specific portion of your device screen.

For this reason, it offers you two modes, “Screencast” and “Screenshot,” displayed as two groups of actions and options.

Here are the steps to take a screenshot on Linux by Kazam:

Step-1: At first launch the Kazam.

Step-2: A menu will appear now, you have to select one of them according to your choice. Because we are talking about screenshots we will focus on it not the other one. So select Screenshot.

Step-3: Then here you have to set some parameters, like if you’d wish to include the mouse cursor or window borders within the captured images, and any delay before capturing.

Step-4: Click on Fullscreen, Window, or Area, and then on Capture.

That’s it!




Take a screenshot on Linux using ScreenCloud

Screencloud is really more network-conscious than its peers, as hinted by its very name. The program allows you to take screenshots of the whole screen, a specific window, or a selected area.

You can save it to a file but also upload it to a load of cloud services.

Some export targets that Screencloud supports are:

  • FTP
  • Ubuntu One
  • Dropbox
  • Imgur

Read More: How to Record Screen on Linux

Conclusion

Guys this is the complete guide on How to Take a Screenshot on Linux. You can use one of the methods for taking a screenshot that we have told you above.

Hope this article was helpful to you. If it does then our attempt will be successful.

If you want to know how to take a screenshot on any other device then you can check our homepage. There you can find out the methods of different devices.

We had spent lots of time creating this beautiful thing. If you found this content useful please share it with your friends using your favorite social media or using your blog.