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?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
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.
I would recommend the program flameshot.
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.
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:
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.
Maybe I'm missing something... GNOME already comes with this feature, Ctrl + Shift + PrntScrn to send to clipboard. As said here:
On GNOME Shell (Ubuntu 17.10+) we have built in shortcuts to save screenshots directly to
Hints to remember them:
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.
For the command line aficionados there is
scrot -s file.png, select the region you want and it will be saved to
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.
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.
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