Screenshot Tools

Flameshot

Install

sudo apt install flameshot

Deepin Scrot

Install

sudo apt-get install scrot


Capture Screen

scrot

scrot myimage.png


A timestamped screenshot will be written to current directory.

A screenshot will be written to myimage.png in current directory.

Capture Selection

scrot -s myimage.png



Use mouse to make selection.

Capture Window

scrot -u

scrot -u -d5


Will screenshot current window (likely your ssh terminal)

As above but gives you 5 seconds to focus on correct window

Shutter

Although an excellent tool, Shutter is no longer maintained and doesn't fully work (no edit functionality) in Ubuntu 18.4 without workarounds. Consider one of the alternative tools.

Uninstall

sudo apt remove shutter