Fix Shutter Edit Button Greyed Out In Ubuntu 18.04 Bionic Beaver

The problem


Shutter Screenshot Tool edit disabled

Shutter Screenshot Tool has an issue in Ubuntu 18.04, which prevents its image editing features to work. This means features such as blurring text, cropping the image, adding lines, arrows, text, and so on, do not work by default.

Shutter Drawing Tool

On a first look, when you select an image in Shutter running in Ubuntu 18.04 (Bionic Beaver), you'll notice that the "Edit" button is greyed out (disabled). The image "Edit" context menu item is disabled as well.

In previous Ubuntu versions, you could simply install the libgoo-canvas-perl package to get this to work. But this doesn't work in Ubuntu 18.04 Bionic Beaver, because that package was removed from the repositories.

The solution - working Edit button in Shutter under Ubuntu 18.04 Bionic Beaver



To re-enable the Shutter edit button (which opens the Shutter Drawing Tool) in Ubuntu 18.04 (and any Linux distribution based on it), you'll need to install the libgoo-canvas-perl package from Ubuntu 17.10, as well as all its dependencies (also from Ubuntu 17.10).

You can grab the deb manually from this page (make sure to also download its dependencies) or you can run the commands below, which will download libgoo-canvas-perl and its dependencies that aren't available in Ubuntu 18.04, save them in the libgoo-canvas-perl folder in your home directory, and install these deb files:

- 32bit:

mkdir ~/libgoo-canvas-perl && cd ~/libgoo-canvas-perl
wget http://archive.ubuntu.com/ubuntu/pool/universe/libg/libgoo-canvas-perl/libgoo-canvas-perl_0.06-2ubuntu3_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/libe/libextutils-depends-perl/libextutils-depends-perl_0.405-1_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/libe/libextutils-pkgconfig-perl/libextutils-pkgconfig-perl_1.15-1_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/goocanvas/libgoocanvas3_1.0.0-1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/goocanvas/libgoocanvas-common_1.0.0-1_all.deb
sudo dpkg -i *.deb
sudo apt install -f

- 64bit:

mkdir ~/libgoo-canvas-perl && cd ~/libgoo-canvas-perl
wget http://archive.ubuntu.com/ubuntu/pool/universe/libg/libgoo-canvas-perl/libgoo-canvas-perl_0.06-2ubuntu3_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/libe/libextutils-depends-perl/libextutils-depends-perl_0.405-1_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/libe/libextutils-pkgconfig-perl/libextutils-pkgconfig-perl_1.15-1_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/goocanvas/libgoocanvas3_1.0.0-1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/g/goocanvas/libgoocanvas-common_1.0.0-1_all.deb
sudo dpkg -i *.deb
sudo apt install -f

Once the debs are installed, exit Shutter and the next time you start it, the Edit button should work. You can now delete the libgoo-canvas-perl folder from your home directory.

On Debian Sid, you'll need Debports to be able to install libgoo-canvas-perl.

If you're running an older Ubuntu / Debian / Linux Mint version, simply install libgoo-canvas-perl from the repositories:

sudo apt install libgoo-canvas-perl

4 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. It works but take care to choose right binary ( 32bit or 64bit ) or your distro will freeze and you'll need to restore using `apt --fix-broken install` from a rescue pendrive.
    To check which binary version you'r using use `uname -i` and if results x86_64 its a 64bit version.

    ReplyDelete
  3. Thank you for this post and generous help. Despite I had the following error:
    dpkg: error processing package libgoocanvas3:amd64 (--install):
    dependency problems - leaving unconfigured
    Processing triggers for libc-bin (2.27-3ubuntu1) ...
    Errors were encountered while processing:
    libgoocanvas3:amd64

    It worked beautifully, at least I could get the Edit buttom activate with all the functionalities.

    Once again, thank you so much.

    ReplyDelete
    Replies
    1. Run "sudo apt install -f" to install missing dependencies.

      Delete

Powered by Blogger.