Krita kra file thumbnailer for Gnome 2

image data/images/blog/2011/07/2011-07-01_kritathumbnails-article-header.jpg

Warning :the method presented in this article are too old to be applied now ( maybe work on Mate ? ) . Use this information at your own risk.

I hacked this morning the thumbnailer distribued with the openraster librarie to work with the Krita native *.kra files. I tested this on Linux Mint 9 and 10 ( so I presume it will works on Ubuntu Lucid and Maverick ). Btw, I don't know how the new Ubuntu 11.04 would handle it ( please use comments if you tested it with a success ). I redistribute it under the GNU GPL license V3 ( file inside ), same as the original libora thumbnailer.

Install

Grab this kra-thumbnailer-gnome. zip files (13Kb) , decompress it on your system , run a terminal and move to the uncompressed folder. The code lines to copy/paste are in the 'install' file. that's it ! Enjoy new *.kra thumbnails.

Note: thanks the Krita dev CyrilleB for the thumbnails improvement he made in few minute on IRC(freenode) #krita channel. Before his commit, the thumbnails were dithered. So, if you have *.kra file dithered or not good looking thumbnail, don't report it : it's fixed. If you compile it from GIT master, just update and compile , open your old *.kra file and save them over : you should have the pretty thumbnail now.

9 comments

  Sean Olson - Reply

Seems to work fine on Ubuntu 11.04 for me. Now Krita is another matter...

  Boudewijn Rempt - Reply

Hi Sean,

What's your problem with krita on Ubuntu? Doesn't it work at all, or are you having trouble with pressure sensitivity? In any case, feel free to join us on irc (#krita on irc.freenode.net) or the krita forums on forums.kde.org. We might be able to help you. There are people who have beaten Ubuntu's broken tablet support for Qt applications into submission...

  Cam - Reply

@Sean Olson
Check out this thread...it works fine
for me on 11.04.

http://forum.kde.org/viewtopic.php?f=139&t=95608

Hope it helps.

  Daniel R - Reply

Hi,

unfortunately, it does not work on my computer, using ubuntu 11.10.

  David REVOY OP , - Reply

@Daniel R : That's why I wrote for "Linux Mint 9" ( gnome 2 based ). on 11.10 all is Gnome 3 based for the filemanager, so certainly needs other tweakings. I 'll not develop it as I'm not interrested yet by Unity/classicmode/Gnome3 desktop. You can get the thumbnail working on Dolphin with Kubuntu or all KDE desktop ( activate 'calligra thumbnail' after a Calligra install ).

  Ragnar - Reply

This still works in Ubuntu 12.04, with a few minor changes.

Just throw the krita_thumbnailer.py in /usr/local/bin

and then add a file called krita.thumbnailer to /usr/share/thumbnailers/ containing:

[Thumbnailer Entry]
TryExec=/usr/local/bin/krita_thumbnailer.py
Exec=/usr/local/bin/krita_thumbnailer.py %i %o %s
MimeType=application/x-krita

That should do the trick.

  David REVOY OP , - Reply

@Ragnar : Thanks for the feedback ! good to know. I also tested this ( but for *.ora , and author reply me on the comment about *.kra :) ) last autumn : http://xubuntugeek.blogspot.fr/2012/06/how-to-openraster-ora-thumbnails-for.html

  raghukamath - Reply

@David This also works on Ubuntu 14.04, with @Ragnars way.

thank you for the script

  David REVOY OP , - Reply

@raghukamath : Cool :) A new thumbnailer is also available here : https://github.com/Deevad/gnome-kra-ora-thumbnailer , and works with Nautilus, Nemo (recent version).

Write a comment

Notice : URL allowed ( auto-clickable ). Pictures URL too ( gif,jpg,png auto-displayed )

Capcha

Enter image code