Krita kra file thumbnailer for Gnome 2

Published on

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.



License: "Krita kra file thumbnailer for Gnome 2" by David Revoy − CC-BY 4.0
Tags:  #code  #lab  #krita   | Download: Markdown
9 comments

9 comments

link Sean Olson  

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

link Boudewijn Rempt  

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...

link Cam  

@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.

link Daniel R  

Hi,

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

link David Revoy Author,

@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 ).

link Ragnar  

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.

link David Revoy Author,

@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">http://xubuntugeek.blogspot.fr/2012/06/how-to-openraster-ora-thumbnails-for.html

link raghukamath  

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

thank you for the script

link David Revoy Author,

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


Post a reply

The comments on this article are archived and unfortunately not yet connected to a dedicated post on Mastodon. Feel free to continue the discussion on the social media of your choice. Link to this post:

You can also quote my account so I'll get a notification.
(eg. @davidrevoy@framapiaf.org on my Mastodon profile.)