Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Ksnip - An Image Editing/Annotation Tool

Install With PPA

sudo add-apt-repository ppa:nemonein/ksnip -y \
  && sudo apt update \
  && sudo apt install ksnip -y

This will install Ksnip version 1.9.1 on Ubuntu 20.04 at the time of writing this post.

Install With Snap

For those who wish to install through the snap package manager, you can install with:

sudo apt install ksnip

CLI Commands

Once having installed Ksnip, you may wish to use it as your default screenshot program. In order to do this, you will need to know the options you can pass it from the CLI:

  • --help - list all the options
  • --rectarea - select an area to take a screenshot of.
  • --lastrectarea - take a screenshot of the last selected area.
  • --fullscreen - take a fullscreen screenshot
  • --active - take a screenshot of the active window
  • --delay - set a delay in seconds before taking the screenshot.
  • --cursor -- capture the mouse cursor in the screenshot
  • --save - save the screenshot to the default location without opening in the editor.


Last updated: 18th October 2021
First published: 10th October 2021