DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Take Screenshot with Shutter on Linux


Shutter is a multi-tab screenshot application. It save picture to disk automatically, or copy it to clipboard, as your configurations, which is very convenient.

Install

On Linux Mint:

sudo aptitude install shutter libgoo-canvas-perl

the second one is for editing the screenshot.

On Ubuntu 14.04:

sudo aptitude install shutter

Usage

Take a screenshot with shutter -s -d 5 -o output.png -e, which has a 5s delay with option -d 5, -s means Selection method, -e means exit after capture.

Start shutter with shutter. In "Edit > Preferences > Main > Save" check "Automatically copy screenshot to clipboard".

Setup keyboard shortcuts in tiling window system

For i3wm: add bindsym Print exec shutter -s -d 2 -e into file ~/.i3/config.

For Qtile: add the following codes into keys list in ~/.config/qtile/config.py:

    Key([], 'Print', lazy.spawn('shutter -s -e')),
    Key(['control'], 'Print', lazy.spawn('shutter -s -d 3 -e')),

Now you can use the Print Screen key to copy a screenshot to clipboard. The -d 2 option let you have time to open a context menu before the screenshot is taken.

In Desktop Environment

Add a keyboard shortcut with the same command above in i3wm.



Published

Apr 22, 2015

Last Updated

Dec 31, 2019

Category

Tech

Tags

  • mint 24
  • screenshot 3
  • shutter 1

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor