Friday, June 1, 2012

[HOW TO] Xcf thumbnails for Nautilus in Xubuntu 12.04

Xcf is the native file format of the Gimp image editing program.

Install

To get xcf thumbnails in Nautilus, the gnome-xcf-thumbnailer has to be installed. Then a custom thumbnailer is placed in /usr/share/thumbnailers. Open a terminal window and run:

sudo apt-get install gnome-xcf-thumbnailer -y
wget -q http://goo.gl/qdhC7 -O- | sudo tee /usr/share/thumbnailers/xcf.thumbnailer

References

Generating Thumbnails for Nautilus using Gimp
XCF thumbnailer doesn't work

17 comments:

  1. The thumbnails are generated after opening for the 1st time the xcf files, but using gnome-xcf-thumbnailer there is no need of doing that.

    Anyway thanks again Wilson ^^.

    P.S: Why there is no RSS for your blog?

    ReplyDelete
    Replies
    1. The thumbnails weren't being created automatically, even after installing gnome-xcf-thumbnailer, so I created a custom thumbnailer entry that calls gnome-xcf-thumbnailer.

      Thank you for your suggestion. The blog now has a widget for RSS subscription :)

      Delete
    2. Great, now we can follow your posts.

      Delete
  2. I've installed it but I've no previews

    ReplyDelete
    Replies
    1. If you've got the folder with the *.xcf file already opened when you installed the thumbnailer, you'll need to refresh (ctrl+r) the view and then nautilus will start generating the thumbnails.
      If that doesn't work try restarting nautilus (alt+f2 and run: /usr/bin/nautilus -q && /usr/bin/nautilus --no-desktop).
      And also check if the file /usr/share/thumbnailers/xcf.thumbnailer exists.

      Delete
  3. Thank you! It works in Ubuntu 12.04 (32-bit) as well.

    ReplyDelete
  4. Thanks! It works in Ubuntu 12.10 (32-bit) as well.

    ReplyDelete
  5. Thank you! Also works in Ubuntu 12.10 (64-bit).

    ReplyDelete
  6. OK Muchas gracias señor. Ha funcionado perfectamente.

    ReplyDelete
  7. It works in Ubuntu 13.04 too Thank you :D

    ReplyDelete
  8. Thank you very much! Works perfect on Fedora 19, only had to change apt-get with yum. For the rest, it's the same

    sudo yum install gnome-xcf-thumbnailer
    wget -q http://goo.gl/qdhC7 -O- | sudo tee /usr/share/thumbnailers/xcf.thumbnailer

    ReplyDelete
  9. awesome! this little tweak has immproved my workflow, thank you very much!

    works on Ubuntu 13.10 x64 as well

    ReplyDelete
  10. awesome! this little tweak has immproved my workflow, thank you very much!

    works on Ubuntu 13.10 x64 as well

    ReplyDelete