how to take a screenshot linux use keyboard code example
Example 1: particular screenshot in ubuntu
Prt Scrn to take a screenshot of the desktop.
Alt + Prt Scrn to take a screenshot of a window.
Shift + Prt Scrn to take a screenshot of an area you select.
Example 2: linux print screen
sudo apt install flameshot