Linux is a powerful and diverse operating system and as a result of that, naturally the screenshot tools for the platform are just as powerful and diverse. The different types of these screenshot tools available range from simple and easy-to-use to powerful command-line tools that offer the ability to script that automate the process. Screenshot is an image taken by a computer to capture the visible items on the monitor or any other output devices. There are several ways of taking screenshots in Linux but I will limit the discussion to one of the simplest and commonest means of taking screenshots in Linux thus using gnome-screenshot.
Use gnome-screenshot
The first most important way of taking screenshots in Linux is by using Tools that can give flexibility with respect to editing the captured screenshot among other benefits. When one is looking for a tool in Linux to do such a job, the Gnome-screenshot comes into play. Gnome-screenshot utility is part of the GNOME Desktop Environment, which can also be used to take screenshot. It also has a command line mode (gnome-screenshot)
Use gnome-screenshot Command line
This utility has much more features as well as flexibility when taking screenshots and is included in some linux distributions by default. However if your linux operating system does not come pre-installed the here is how to install it.
https://allguideto.blogspot.com/2018/02/how-to-take-screenshot-in-linux.html