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.



74 Comments

  1. kiweegie

    Solution found for Mint 14 Cinnamon key bindings.

    There would appear to be a bug in the way cinnamon custom keyboard shortcuts work which I could not get to work editing the cinnamon keyboard shortcuts via the GUI or via command line using dconf-editor or gconf-editor.

    A bit more google searching led me to a post by electrickite at this link:

    http://forums.linuxmint.com/viewtopic.php?f=208&t=117585&start=20#p655476

    All kudos (and heartfelt thanks) to elextrickite, I include his instructions below in full to make it easier for shutter specific searches.

    Basically re-enable the old gnome keyboard settings which DO allow you to override gnome-screenshot tool with custom key bindings for shutter.

    create a new file
    $ sudo vi /usr/share/applications/keyboard-settings.desktop

    Copy and paste this into the file and save

    [Desktop Entry]
    Name=Keyboard
    Comment=Change keyboard settings
    Exec=gnome-control-center keyboard
    Icon=preferences-desktop-keyboard
    Terminal=false
    Type=Application
    StartupNotify=true
    Categories=GNOME;GTK;Settings;HardwareSettings;X-GNOME-Settings-Panel;
    OnlyShowIn=GNOME;Unity;
    X-GNOME-Bugzilla-Bugzilla=GNOME
    X-GNOME-Bugzilla-Product=gnome-control-center
    X-GNOME-Bugzilla-Component=keyboard
    X-GNOME-Bugzilla-Version=3.4.2
    X-GNOME-Settings-Panel=keyboard[Desktop Entry]
    Name=Keyboard
    Comment=Change keyboard settings
    Exec=gnome-control-center keyboard
    Icon=preferences-desktop-keyboard
    Terminal=false
    Type=Application
    StartupNotify=true
    Categories=GNOME;GTK;Settings;HardwareSettings;X-GNOME-Settings-Panel;
    OnlyShowIn=GNOME;Unity;
    X-GNOME-Bugzilla-Bugzilla=GNOME
    X-GNOME-Bugzilla-Product=gnome-control-center
    X-GNOME-Bugzilla-Component=keyboard
    X-GNOME-Bugzilla-Version=3.4.2
    X-GNOME-Settings-Panel=keyboard
    # Translators: those are keywords for the keyboard control-center panel
    Keywords=Shortcut;Repeat;Blink;
    X-Ubuntu-Gettext-Domain=gnome-control-center-2.0
    # Translators: those are keywords for the keyboard control-center panel
    Keywords=Shortcut;Repeat;Blink;
    X-Ubuntu-Gettext-Domain=gnome-control-center-2.0

    You’ll now see a *new* keyboard menu here

    menu > system tools > system settings > hardware section

    Click on screenshots section and disable the existing entries (for gnome-screenshot) then click on custom shortcuts and add in your preferred selection of shutter commands.

    • Thanks for your help. I am sure it is useful for other readers.

    • Thank you for your information about this problem. And I follow what your post and solve my shutter shortcuts problem in Linux Mint 14.

    • The Gnome bug is fixed in Cinnamon 15

      • Sorry, I meant the “key bindings” bug is fixed in Cinnamon 15

        So adding a Menu > Preferences > Keyboard > Keyboard shortcut
        shutter -f Shutter full screen Ctrl+Shift+f
        shutter -s Shutter selection Ctrl+Shift+s
        shutter -w Shutter window Ctrl+Shift+w
        shutter -t Shutter tooltip Ctrl+Shift+t
        will work now.

  2. kiweegie

    Has anyone managed to set custom keybindings for Mint 14 Cinnamon for the various shutter commands?

    PrtSc button seems hard coded to use gnome-screenshot but am happy to use an alternative key binding and leave PrtSc alone.

    I’ve tried via Menu > Preferences > Keyboard > Keyboard shortcut tab to add custom shortcuts as follows:

    shutter -f Shutter full screen Ctrl+Shift+f
    shutter -s Shutter selection Ctrl+Shift+s
    shutter -w Shutter window Ctrl+Shift+w
    shutter -t Shutter tooltip Ctrl+Shift+t

    This *did* work when I initially setup but after a restart they don’t work. I’ve tried recreating them but no dice. I can’t see anything online about this which helps. Older versions of Mint you could use gconf-editor to amend keys in /apps/metacity/global_keybindings but this key set is not showing under mint 14.

    Appreciate this is likely a Cinnamon rather than Shutter issue but hoping someone with a solution may see this post here.

    thanks all.

  3. Hi,

    since 1-2 weeks Shutter does not work anymore on my system (LinuxMint 13 Maya Cinnamon). I do not know why. It just stopped working and gnome-screenshot has taken control.

    When I take a look in gnome-control-center, key shortcuts there are duplicate entries for taking a snapshot and taking a window snapshot. I have n idea how this happened. See also http://forums.linuxmint.com/viewtopic.php?f=208&t=118426

    Has someone an idea how to fix this?

    Tnx in advance,
    Enkidu

  4. The newer Ubuntu versions are in process of migrating the configuration to dconf and you need to set the schortcuts with that (dconf-editor). That program isn’t installed by default:

    sudo apt-get install dconf-tools

    Then either run it from terminal or use ALT + F2 and type dconf-editor.

    You will find the relevant keys in this section:

    org.compiz.integrated

    command-screenshot /usr/bin/shutter –full
    command-window-screenshot /usr/bin/shutter –active

    — this is two hyphens not one

  5. huzeguzel

    You must define a global Shortcut for shutter like shutter -s. this will take a picture with a selection box you can select.
    Thats work for me.

  6. Bind yourdesired command to `shutter –select`

    I use:

    Print: `shutter –full`
    Alt+Print: `shutter –window`
    Ctrl+Print: `shutter –select`

    Also if you open a terminal and type:

    shutter –help|more

    you’ll get an output of other commands that it accepts.

  7. Hi,

    Is there any solution for the problem with keyboard shortkey “Capture with selection”? I’m using Gnome 3 on ubuntu 12.04, and I use shutter every day. Would be verry nice!

    Ron

    • Solution for LXDE:

      after install shutter, open with your editor like gedit or leafpad:

      leafpad ~/.config/openbox/lxde-rc-.xml

      search the line and past before

      shutter -f

      shutter -w -d=3

      (you can personnalize command and keybind … read man for command and remeber C= ctrl A=Alt W=window key)

      at the end reload openbox configuration with
      sudo openbox –reconfigure

      • jpalsu-kasu64

        The Vincent M is not readable here (XML)

        Search

        Insert before
        like this

        shutter -f

        shutter -w -d=3

        shutter -s

        “Print” is the PrintScreen Key
        “C” is the Ctrl Key
        “S” is the Shift Key

  8. I think i found the solution, adding new shortcut to replacing gnome-screenshot. I’ve post about how to add shortcut for ubuntu 12.04 there http://www.panduaji.com/2012/09/shutter-as-default-on-ubuntu-1204.html



Trackbacks/Pingbacks

  1. Linux key abbreviations - [...] I run Shutter, and this program doesn't handle the shortcut action configurations. When I go to http://shutter-project.org/faq-help/...hot-tool/#lxde,…
  2. Linux Mint 14中Shutter快捷键设置无效 | northcamel - [...] Linux Mint 14中的截图软件Shutter快捷键设置无效,而且在Cinnamon的Keyboard中自定义也无效,这让人用起来好“蛋疼”,不过越到的问题早已经有人遇到,并给出了解决方法,通过分析,这个快捷键失效应该是Cinnamon的原因,而不是Shutter。在Shutter网站的设置中,kiweegie给出了解决办法(kiweegie根据了electrickite的帖子),解决的思路是“Basically re-enable the old gnome keyboard settings which DO allow you to override gnome-screenshot tool with custom…

Leave a Reply