28

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?

Abhi4mu
  • 539

10 Answers10

45

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

digiwizkid
  • 2,535
14

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

Pablo Bianchi
  • 15,657
C.S.Cameron
  • 19,519
5

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.

Zanna
  • 70,465
davipatti
  • 159
3

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.

KGIII
  • 3,968
3

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:

  • Source: Shift → Surface/Area (else the whole screen). or Alt → Current window.
  • Destination: Ctrl → to Clipboard (else to ~/Pictures).

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.

Pablo Bianchi
  • 15,657
2

Ubuntu 22.04 default just press Print Screen key.

Shift+Print - defaults to take screenshot of the entire screen

Alt+Print - defaults to window screenshot

Print (screen) - defaults to the screenshot app

enter image description here

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

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

tripleee
  • 1,474
FrosT
  • 11
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.

Criggie
  • 681
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.

Tejas Lotlikar
  • 2,945
  • 5
  • 17
  • 26