Shutter as default

To configure Shutter as the default tool to take screenshots with when you press PrtSc or Alt+PrtSc, here’s what you need to do:

gnome unity
  1. Go to System Settings ▸ Keyboard
    Gnome/Unity - System Settings

    Gnome/Unity – System Settings


  2. Switch to the Shortcut tab and add a new custom shortcut
    Gnome/Unity - Add new custom shortcut

    Gnome/Unity – Add new custom shortcut


  3. Enter a Name (e.g. Shutter) and a Command (e.g. shutter -f)

    Gnome/Unity - Enter command

    Gnome/Unity – Enter command

  4. Click the new row and hold down the new keys in order to add/edit the accelerator

    Gnome/Unity - Edit accelerator

    Gnome/Unity – Edit accelerator

  5. That’s it! Now the usual PrtSc keybinding will use Shutter to take the screenshots.

kde

  1. Go to System SettingsShortcuts and Gestures

    KDE - System settings

    KDE – System settings

  2. Create a new global shortcut (right-mouse click) and select Command/URL

    KDE - Add new custom shortcut

    KDE – Add new custom shortcut

  3. You can now edit the associated Action

    KDE - Edit command

    KDE – Edit command

  4. … and Trigger

    KDE - Edit shortcut

    KDE – Edit shortcut

  5. That’s it!


xfce

  1. Go to SettingsKeyboard

    Xfce - Keyboard settings

    Xfce – Keyboard settings

  2. Click on the Add-Button to create a new shortcut

    Xfce - Add new shortcut

    Xfce – Add new shortcut

  3. Enter a command in the next dialogue (e.g. shutter -f)

    Xfce - Enter command

    Xfce – Enter command

  4. Click the new row and hold down the new keys in order to add/edit the shortcut. That’s it.


lxde

  1. LXDE does not provide any GUI to manage global shortcuts yet. Please see the instructions here.



73 Comments

  1. In Cinnamon, Linux Mint 17.1, proceed as follow:

    Click your system menu, and type Keyboard. Open the Keyboard setting applet.

    Select the Keyboard shortcuts tab, then “Custom Shortcuts”. Click “Add custom shortcut”. Name it as you wish, and in Command, type your prefered shutter command (I use shutter -s).

    Click “Add”.

    Select your newly created shortcut in the “*Keyboard shortcuts” zones. Double-click the first “unassigned” field in the “Keyboard bindings” zone. It says then “Pick an accelerator”. Type your “Print Screen” key. You will get a warning saying that the “Print” key is already bound to the “Create shortcut” action. Confirm you want to replace it…

    You’re done. Enjoy 🙂

  2. How Using Shutter as the default screen grabbing tool in MInt 17 Cinnamon?

  3. About that cinnamon thing:

    Since it’s not possible (or at least I was too lazy too search more into it) to change the default print-screen key to use another application I’ve just removed gnome-screenshot and then symlinked shutter to gnome-screenshot:

    cd /usr/bin
    sudo ln -s shutter gnome-screenshot

    Not very practical, not nice either, but does the job.

    • Edson Richter

      Thanks. Following your tip, I have been able to “fix” printscreen in my Mint 17.
      What I did:

      1) created a /usr/sbin/shutter-selection script with the following content:

      [code]
      $ sudo vi /usr/sbin/shutter-selection

      #!/bin/bash
      /usr/bin/shutter -s
      [/code]

      then I’ve moved the old executable with commands

      [code]
      sudo mv /usr/bin/gnome-screenshot /usr/bin/gnome-screenshot-old
      sudo ln -s /usr/sbin/shutter-selection /usr/bin/gnome-screenshot
      [/code]

      Now everytime I hit “PrtScr” I get the selection window as expected.

  4. In Ubuntu 14.04 (and probably some older versions), Unity’s control center is unable to assign Alt+Print to a shortcut (https://bugs.launchpad.net/unity/+bug/1174706).

    Workaround:
    First open Unity’s keyboard settings (“unity-control-center keyboard”) and create a new custom shortcut with the command you want to use (e.g. “shutter -a” to capture the currently active window, see http://shutter-project.org/wp-content/custom_html_files/shutter_090.pod.html#capture_mode_options for more details).

    Then unset Unity’s default Alt+Print action:
    $ gsettings set org.gnome.settings-daemon.plugins.media-keys window-screenshot ”

    Launch dconf-editor (or install it before), navigate to “org.gnome.settings-daemon.plugins.media-keys.custom-keybindings”, and choose the last “custom*” (where * is a number) folder (make sure the “command” on the right is the one you want to set to Alt+Print, otherwise look for it in the other “custom*” folders). Set the “binding” key’s value to “Print”.
    This should be it.



Trackbacks/Pingbacks

  1. 守心斋 | 沉、静、坚、韧 用CentOS 7打造合适的科研环境 - […] 可以通过修改快捷键使shutter成为默认的截图工具。 […]
  2. Blog | Bill Dong's Web World | Just a personal website - […] 可以通过修改快捷键使shutter成为默认的截图工具。 […]
  3. Linux: Shutter – Feature-rich screenshot program | MyWiki - […] configure Shutter as the default tool to take screenshots with when you press PrtSc or Alt+PrtSc, here’s what you…
  4. 用CentOS 7打造合适的研究环境 | MUHAMMADYUSUF - […] 可以通过修改快捷键使shutter成为默认的截图工具。 […]
  5. Greenshot Replacement for Linux! (Shutter) | wyattmarks.com - […] to make this automatically run when you press print screen, like Greenshot, you need to follow these instructions, but…
  6. Phần mềm chụp ảnh màn hình Shutter | Thư viện tham khảo Ubuntu VN - […] ĐỀ PHÁT SINH & GIẢI QUYẾT Chao ôi. Nó không hỗ trợ phím tắt! Cách xử lý: http://shutter-project.org/faq-help/set-shutter-as-the-default-screenshot-tool/ đã…

Leave a Reply