19

When I'm pressing the PrtScn ("Print Screen") button, it's taking a screenshot of the whole screen. But many times I want only some part of the screen as a screenshot.

How to do that?

4
  • gnome-screenshot -a and make a ubuntu custom keyboard shortcut for it. – pierrely Nov 13 '20 at 3:47
  • 2
    Apparently, KDE's Spectacle (default screenshot tool in KUbuntu) already have this feature. – val is still with Monica Nov 13 '20 at 18:13
  • I use spectacle, and i find it the best of all the screenshot tools – Jamie Lindsey Nov 14 '20 at 22:23
  • Hi, please consider accepting the answer posted by ticking the check-mark next to it. This will mark the question as solved. – ljrk Nov 16 '20 at 13:51
35

Press Shift+PrtSc. It will give you an area selection option. Select your desired part and you will get the partial screenshot.

6
  • 9
    Also, ctrl+shift+prtsc will send the screenshot to the clipboard instead of saving it. – rafa11111 Nov 11 '20 at 14:14
  • 5
    And using Alt allows you to select a single window only. – ljrk Nov 11 '20 at 14:49
  • @C.S.Cameron yes by default it will go to Pictures, if you want to save it to clipboard use Ctrl+Shift+PrtSc – digiwizkid Nov 11 '20 at 17:10
  • 2
    Please consider accepting this answer. Thanks – digiwizkid Nov 12 '20 at 14:00
  • 1
    @ljrk's comment is often the quickest way to document something – Chris H Nov 13 '20 at 14:12
11

GNOME Screenshot

The program Screenshot is included with Ubuntu.

It allows you to take a screen shot of the entire screen, the current window or an area of the screen.

enter image description here

4

I would recommend the program flameshot.

Install with:

sudo apt-get update
sudo apt-get install flameshot

Flameshot can capture screenshots of any rectangular area of the screen. It also has extensive built-in drawing and annotation tools in case you want to edit, highlight, or blur part of the screenshot.

It provides a simple drag-a-rectangle UI for the screenshot, and afterwards allows simple modifications such as adjusting the rectangle and adding arrows and boxes to draw attention to certain parts of your selection. It further allows you to store the image on the clip board, save it as a file, or open it with another editor.

It also allows annotation.

1
2

I'm a big fan of "Shutter". It is easy to install in 20.04.

sudo add-apt-repository -y ppa:linuxuprising/shutter
sudo apt-get update
sudo apt-get install -y shutter

Either way, Shutter can be started from the terminal, with the ability to select just a part of the screen with:

shutter -s

That will open the manual selection tool, allowing you to take screenshots of just the areas you want to save.

You can also bind this to your shortcut keys just like you'd bind the keys for any other application. (The way to do this will vary based on your Ubuntu flavor.)

If you use shutter -h in the terminal, you'll see that it's pretty feature-rich. One of the better features is the ability to take screenshots of entire web pages, even scrolling to capture the entire page. To see an example of that, click here. (It's too large to reasonably embed in this reply.

If you want to enable editing, that's pretty easy. It supports automated uploading to a number of sites and gives you back a variety of URL formats. You can also add your own sites with FTP.

2

Maybe I'm missing something... GNOME already comes with this feature, Ctrl + Shift + PrntScrn to send to clipboard. As said here:

GNOME Shell shortcuts

On GNOME Shell (Ubuntu 17.10+) we have built in shortcuts to save screenshots directly to ~/Pictures:

screenshot

Hints to remember them:

  • Ctrl → to clipboard (else to ~/Pictures)
  • Alt → Current window
  • Shift → Area/Surface

I usually disable "Print" to avoid generating garbage on ~/Pictures if I miss F12 (which I use a lot with Guake) and accidentally press it.

1

For the command line aficionados there is scrot. Type scrot -s file.png, select the region you want and it will be saved to file.png.

1

GIMP provides an option to grab all or some of the screen, or a specific window.

You can also delay the snap by some seconds, to get a mouse-based popup or open a menu as suits your needs.

Own work

I frequently want to edit the screenshot before use, by blocking out something, or perhaps squishing it all a bit, so putting the picture into an image editor unsaved helps improve the workflow.

bonus - figure how I got a screenshot of the screenshot dialogue boxes? Yes it was snapped with GIMP.

1
  • 1
    If a WM/DM theme works for 20 years, why change it? – llogan Nov 13 '20 at 19:35
1

You can use a program called 'kazam' it has option of taking screenshots and screenrecording to , it can be installed via entering these commands in terminal

sudo apt update
sudo apt-get install kazam

Then the program should appear on your app drawer, it can also be executed by entering kazam in terminal

Screenshot:

Kazam dialog screenshot

0

There is no need to install an additional program to take a screenshot. Instead, use the screenshot tool. If you'd like to take a picture of a particular window, you can highlight that window and then press Alt + PrtSc on your keyboard at the same time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.