IT/Software/Applications/Shutter

From msgwiki
Jump to navigation Jump to search

Why we like it.

This is a great application to take screenshots.

  • the editing feature is clean and works well.
  • Screenshopts are autocopied to the clipboard.
  • It can be run from the command line and therefore scripted and turned into shortcuts
    • We use Meta + a to screenshot an areal


Install Shutter

It used to work well from the normal package manager but now will no longer work.

You need to use the version from the PPA

  • Install the PPA
sudo add-apt-repository -y ppa:linuxuprising/shutter
    • No need to use apt update anymore because starting Ubuntu 18.04, the repositories are automatically updated after adding a new entry.
  • Now use the apt command to install Shutter:
sudo apt install shutter
  • That’s it. You should have Shutter screenshot tool installed. You can search for it in the menu and start from there.

Using Shutter

We usually create a shortcut to meta-a with the following command.

shutter -s

Run shutter in selection mode

Scripting Shutter

To capture a portion of the screen you can define the region

shutter -s=2000,100,300,300 -e

Shutter selection mode startx, starty,amount to add to startx, amount to add to start y, exit quietly.

Note: If you have two screens the x goes from top left of left screen to top right of right screen.

If you have two 1920x1080 screens then a startx of 1920 and starty of 0 is the top left of the second screen.

Removing Shutter installed via the unofficial PPA

I’ll complete this tutorial by adding the steps to uninstall Shutter and remove the repository you added.

  • First, remove Shutter from your system:
sudo apt remove shutter
  • Next, remove the PPA from your list of repositories:
sudo add-apt-repository --remove ppa:linuxuprising/shutter