maim
Screenshot utility. tldr-pages
On Linux
Linux
Capture a screenshot and save it to the given path
maim path/to/screenshot.pngIdentifyCapture a screenshot of the selected region
maim --select path/to/screenshot.pngIdentifyCapture a screenshot of the selected region and save it in the clipboard (requires xclip)
maim --select | xclip -selection [c -target image/pngIdentifyCapture a screenshot of the current active window (requires xdotool)
maim --window $(xdotool getactivewindow) path/to/screenshot.pngIdentify