Ubuntu

Ubuntu Print Screen

Windows is perhaps the easiest and the most user-friendly interfaces I have ever come across. Its usage reminds us of how anything can be done through a perfectly annotated GUI, and the existence of pointers and menu icons. With most of us heavily relying on technology and communicative interfaces, there is still a fair share of people who make use of the non-reciprocal command-driven interfaces. Everything including the downloading’s, software updates, access to menu and browsers is usually done through commands on the terminal.

This tutorial below is a guide on how to take screenshots on Ubuntu using keyboard shortcuts and without making use of any third party tools. In addition, we will also find out the best screenshot tools you could get for Linux.

What exactly are Screenshots?

A screenshot is an image of the data on your screen while a screencast occurs when you record a video of the happenings on your screen. They are usually taken when you have to share something from your screen to someone else’s.

For Operating Systems as Windows and Mac, you can easily take screenshots using the print screen icon on the keyboard that captures your screen as it is. However, in Ubuntu and other Linux distros, there are a number of techniques other than this. Read them in detail below:

1.  Take Screenshots through Keyboard Shortcuts in Linux

The first method is about utilizing keyboard shortcuts to capture an image of the contents on your desktop. These techniques work best when you don’t have to make any edits or changes to the screenshot later on. Almost all Linux distros including Ubuntu support these shortcuts.

PrtSc – Captures a Screenshot of the entire screen as it is. This is then saved to the ‘Pictures’ directory.

Shift + PrtSc – Captures a screenshot of a specific region that you select. This is also saved to the ‘Pictures’ directory.

Alt + PrtSc – Captures a screenshot of the current window you are working on. This is also saved to the ‘Pictures’ directory.

Ctrl + PrtSc – This shortcut copies the screenshot of the entire screen directly to the clipboard.

Shift + Ctrl + PrtSc – This shortcut copies the screenshot of a specific region that you select to the clipboard.

Ctrl + Alt + PrtSc – This shortcut copies the screenshot of the current window that you are working on to the clipboard.

The shortcuts above are very useful and simple for quick sharing of pictures. They all make use of the default screenshot tool of Linux.

2.  Take Screenshots through a Dedicated Screenshot Tool

a.   FLAMESHOT

Flameshot is a dedicated feature-rich screenshot tool for Linux based systems. It is not just for capturing screen images but also editing and annotating them. Some of its quality features include:

  • Editing (highlighting, adding texts, boxes and points to the image)
  • Blurring
  • Cropping
  • Uploading Images

To use Flameshot in Ubuntu, follow the simple steps below to first install the tool in your system. To do that using the terminal, type in the command:

sudo apt install flameshot

Once you’re done installing, you can start taking a screenshot after launching the tool by finding it through the search option. However, there is also an option where you can trigger the tool using the PrtSc key after setting a custom keyboard shortcut.

To do that:

  • Open system settings -> Keyboard settings
  • In the keyboard shortcuts, find the button ‘+’
  • Click the ‘+’ button for adding a custom keyboard shortcut
  • Enter the fields as shown:


Name: Shortcut
Command: /usr/bin/flameshot gui

  • Now set this shortcut to the PrtSc button
  • Note that the functionality of the default screenshot tool for PrtSc will be disabled once you perform the steps above.

This is how it should look like:

Below is an image of how the Flameshot tool will work on your system. You can take a screenshot and edit it right away before you save.

b.   SHUTTER

Another popular tool for taking screenshost on Ubuntu and all major Linux distros is Shutter. It is free and can be easily downloaded. Despite its inactive interface, Shutter seems to be a perfect choice for capturing, handling and editing screenshots. However, one major con of this tool is that its editing feature is disabled by default. Shutter can also help to annotate, blur, crop and upload images to other sites like Flameshot.

To install Shutter using the following command:

sudo apt install shutter

You can use Shutter directly from the search option or set a custom keyboard shortcut to trigger the tool. The instructions are the same as we did for Flameshot. Just remember to use ‘shutter –f’ in the command field.

3.   Take Screenshots Using Command Line Tools

The tools below are for people who love using the terminal and its command-driven interface. They help to instantly capture the screen using a few commands.

a.   GNOME SCREENSHOT TOOL

This tool exists in all distros that have a Gnome desktop. To take a screenshot, type the command below

gnome-screenshot

If you want to capture a screenshot with a slight delay, type in:

gnome-screenshot -d -5

b.   DEEPIN SCROT SCREENSHOT TOOL

This is also a terminal-based tool, which is usually present in most distros by default. If you don’t have it, install it using the command:

sudo apt-get install scrot

Now, to take a screenshot of an entire screen, type:

scrot myimage.png

If you want to only capture a selected area, type:

scrot -s myimage.png

4.   Conclusion

After you see the tools available on Ubuntu and Linux you can see taking screenshots can be easy, fun and you can think of yourself as artist of the screenshot with all these tools.

About the author

Zeeman Memon

Zeeman Memon

Zeeman is a freelance content marketer, software engineer and tech blogger who loves to blog on his tech blog in his free time.