Follow me for updates and bonus :

illustrator , concept-artist

Gnome Files thumnailer for ora and kra images

25 november 2013

artwork by David Revoy

Files (aka Nautilus ) with the theme 'Numix' and 'Global dark theme' on 'Gnome Tweak'

Long story short : I moved to the Gnome 3.10 desktop environment and I enjoy ( I'll blog post more about soon ). But I found the lack of thumbnail support for 80% of my files in 'Files' frustrating. No  *.ora and *.kra thumbnails ?  ( aka Open Raster , and Krita native file format ). Both multi-layered, both open format, both awesome.

A lot of thumbnailer exist over the Internet for 'Files' ; but most are broken : based on gtk2, or older version of Python, or using old Gconf way under Gnome 2. So, I decided to get hand dirty and write my own.  Surprisingly , it worked and if you look at my code, I promise you a good laugh. But it works. So I share.

Download and Install :
All you need  is here :
https://github.com/Deevad/gnome-kra-ora-thumbnailer
Scroll down on the link and start by the README file ; I tried to explain all in it.

Notes :
- Works also for Linux Mint 's Cinnamon Nemo file browser.
- Don't forget in preferences to allow thumbnail preview for files larger than 100MB ; those layered files tend to be large.

Share this page :

^

22 comments

Avatar Gravatar

1. André


monday 25 november 2013, 21:02

Nice. Can't wait for further news about your change.^^

Avatar Gravatar

http://frechako.blogspot.com/
tuesday 26 november 2013, 02:37

i don't know if i understood wrong the instructions but in the step 2 on github there no exist a file named ora.thumbnailer it is openraster.thumbnailer, thanks for this (works excelent on fedora 19)

http://www.davidrevoy.com/
tuesday 26 november 2013, 07:57

@André : :-)

@lewatoto : Thanks pointing me it ; indeed a typo I made while writing the documentation. Fixed :) Nice to know it works also in Fedora too.

Avatar Gravatar

4. André


tuesday 26 november 2013, 17:24

Did you change only the desktop environment or the complete distribution?

Avatar Gravatar

http://flem-fr.deviantart.com/
tuesday 26 november 2013, 19:43

Salut David,

encore une fois merci. :D

Un petit bug dans ton fichier "README.md", en ligne 38 :
sudo cp ora.thumbnailer /usr/share/thumbnailers/openraster.thumbnailer

devrait être :
sudo cp openraster.thumbnailer /usr/share/thumbnailers/openraster.thumbnailer

À part ça, la commande pour quitter Nautilus (nautilus -q**) ne marche pas chez moi mais ça n'a aucune importance.
En quittant normalement et en relançant, les thumbnails apparaissent parfaitement. :)

Génial, merci.

http://www.davidrevoy.com/
tuesday 26 november 2013, 20:07

@flem : Merci Flem ! C'est déjà modifié et désolé pour abuser de mes testers avec mes typos de documentation .

@André : I switched to Manjaro XFCE too month ago , then Arch XFCE ( this one I broken with a bad 3.10 dirty install ) , then a short visit to OpenSuse 13.1 Gnome , then I came back to Manjaro Minimal , with Gnome package installed manually. Today , I learned about 'Antergos' a Gnome 3 distrib based on Arch. Sounds good for my next install :)

Avatar Gravatar

7. Aurélien Gâteau


tuesday 26 november 2013, 21:54

Oh, you moved to GNOME... As long as you continue to amaze us with your artwork it does not matter, I am still a fan :) I am sorry I missed you at Capitole du Libre, will be more careful next year!

http://davidrevoy.com/
tuesday 26 november 2013, 22:37

@Aurélien Gâteau : Hey Aurélien ; thx ! yes, too bad we didn't met. I was around very long.
By the way , I'm still a Konversation , Kdenlive and Krita hardcore user, and my Gnome got a KDEbase in it ; so I can even call KDE system settings from the Gnome menu =)
I'll keep my system hybrid for long time , I think.

Avatar Gravatar

9. Otto


wednesday 27 november 2013, 00:56

Welcome to Gnome, you are gonna like it here! :)
Thank you for the thumbnailer, really useful and it was really easy to install. Cheers!

Avatar Gravatar

10. Camille Bissuel


wednesday 27 november 2013, 10:49

Très utile, bravo et merci beaucoup !!!!

Avatar Gravatar

11. Marco


friday 29 november 2013, 07:34

I'll check the recent video review of Antergos on the Linux Action Show. But why did you move from your previous configuration? (Mint+Kde I think to remember) Are there particular advantages? I wonder how Steamos will be, because I would like to learn how to use Hammer and get into games from the Modding point of view.

http://www.davidrevoy.com/
friday 29 november 2013, 10:19

@Marco : Hey, I'll do a next article about it ; but in a nutshell ; Wacom and color calibration support is way better on Gnome 3 ; also the compositor performances are now good. So, it's good to can work on a modern desktop.
About SteamOS ; I have no opinion yet ; as I still don't know the architecture, the toolkit or code who will be used for display. I just hope it will be based on a popular existing desktop ; not reinventing the wheel again on Linux.

Avatar Gravatar

http://mattjordan.com
saturday 30 november 2013, 16:19

I look forward to your article about why you switched. I plan to upgrade over the holidays and I'm still trying to decide which way to go. :)

Avatar Gravatar

14. André


tuesday 03 december 2013, 22:09

Downloaded the new "Mint 16: Petra" today with the new Cinnamon 2.0. Will give it a try.^^

http://www.davidrevoy.com/
wednesday 04 december 2013, 14:04

@André : Hi André. Becarefull : Mint team got dev, but no Wacom user/tester ; so what happen is a total breakage of the Wacom tools AFAIR ; http://forums.linuxmint.com/viewtopic.php?f=49&t=151645&p=791245 ; I didn't tested.
Also see " Wacom Tablet does not work under Cinnamon 2.0 " : https://github.com/linuxmint/Cinnamon/issues/2686

Avatar Gravatar

16. André


wednesday 04 december 2013, 16:02

Sh**. What distro should I use instead with gnome 3.10?

http://www.davidrevoy.com/
wednesday 04 december 2013, 17:17

@André : I don't know. For the moment, and as far as I know. I don't recommend any Ubuntu based distro. Even Ubuntu Gnome edition is still 3.8.

On 3.10 ; there is this :
- OpenSuse 13.1 Gnome
- Antergos
- last Fedora
- and Arch / Manjaro installation from CLI

Avatar Gravatar

18. André


friday 06 december 2013, 09:51

Hi,

thanks!:)

I installed all of these distros in a virtual machine and i like OpenSuse and Antergos most. But I'm a totally newbie on these platforms. I used Ubuntu before. So I don't know how to compile krita and all the other painting software there.^^

http://www.davidrevoy.com/
friday 06 december 2013, 11:12

@André : The two you mention are really nice. Antegos is probably less stable ( rolling + based on arch) but the most flexible. Here I tested OpenSuse Gnome during 24h as a full install. I could get all running, but I love too much Arch AUR system ; so I decided to go back Manjaro. But to get Gnome 3.10 running on Manjaro it's hard; you have to remove everypackage almost, or run the installation from terminal. I'm pretty sure, my next test will be Antergos. Shouldn't be hard to switch from Ubuntu :
Once you know this few basic ( replace PACKAGENAME with your package name , no caps needed :-) :

update all :
sudo pacman -Syuu

install :
sudo pacman -S PACKAGENAME

remove
sudo pacman -R PACKAGENAME

install AUR package ( community package, larger than PPA base )
yaourt PACKAGENAME

Here I use 'pamac' to install or remove package , it's really 'synaptic' like, and I update system with terminal ( rarely , when all works ).

For building Krita, my previous article with building "Krita for cats" was proof tested by me 2 weeks ago on Arch and OpenSuse. I updated the wiki of calligra with correct dependencies list.
Good luck !

Avatar Gravatar

20. Marco


saturday 14 december 2013, 19:00

SteamOS is out:
ostore.steampowered.com/steamos/

http://steamcommunity.com/groups/steamuniverse/discussions/1/648814395741989999/

SteamOS is a fork (derivative) of Debian GNU/Linux. The first version (SteamOS 1.0) is called 'alchemist' and it is based on the Debian 'wheezy' (stable 7.1) distribution.
The major changes made in SteamOS are:
Backported eglibc 2.17 from Debian testing
Added various third-party drivers and updated graphics stack (Intel and AMD graphics support still being worked on)
Updated kernel tracking the 3.10 longterm branch (currently 3.10.11)
Custom graphics compositor designed to provide a seamless transition between Steam, its games and the SteamOS system overlay
Configured to auto-update from the Valve SteamOS repositories
Q: What are the SteamOS Hardware Requirements?
Intel or AMD 64-bit capable processor
4GB or more memory
500GB or larger disk
NVIDIA graphics card (AMD and Intel graphics support coming soon)
UEFI boot support
USB port for installation

Unfortunately my motherboard hasn't UEFI boot support

Avatar Gravatar

21. Martin


saturday 21 december 2013, 14:47

Since a few days FEDORA 20 is available. It comes with Gnome 3.10.

Will you give it a try?

http://www.davidrevoy.com/
saturday 21 december 2013, 19:21

@Martin : Hi Martin, no. I'm really fine with Manjaro since last summer. It works, I have so no reasons to change. I gave a try to OpenSuse 13.1 Gnome 3.10 from end November ; but after the use of pacman and yaourt for Arch/Manjaro package management, any other solution feels complex to me.

Rss feed of the article's comments

Write a Comment

What is the first letter of the word rwpf? :