Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just noticed that HTML files with CSS transforms on elements show with the CSS transforms within the thumbnails on Nautilus. So what rendering engine does Nautilus use to generate the thumbnails for HTML files?

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

The thumbnailing programs are installed separately except for text/plain and are specified in gconf here:

alt text

This system allows you install different programs to do the rendering of different kinds of images. My system doesn't have any html preview/thumnails and gconf reflects that. So I wonder what gnome packages you have installed that provide that functionality.

share|improve this answer
1  
those are provided by some kind of gtk-html or mozilla/gtk integration related package to memory, but it is broken if you use newer versions of xulrunner unfortunately. –  RolandiXor Nov 17 '10 at 13:33
    
@Roland Taylor: could you elaborate on the "it is broken if you..." part? –  Mussnoon Nov 17 '10 at 13:51
    
the thumbnails do not show up. it either shows a white box, or a loading icon. –  RolandiXor Nov 17 '10 at 13:52
    
Thanks. However, even though I only quoted the first part of that statement, my emphasis was on the latter part, i.e. "... if you use newer versions of xulrunner". –  Mussnoon Nov 17 '10 at 14:11
    
- meaning, will it be affected only if I manually update xulrunner separately or if the one that comes with firefox is updated as well? –  Mussnoon Nov 17 '10 at 14:17
add comment

Install gnome-web-photo

sudo apt-get install gnome-web-photo

If it doesn't work not open gconf-editor go to /desktop/gnome/thumbnailers/text@html and change the command

gnome-web-photo --mode=thumbnail --timeout=16 --size=%s %u %o

to

/usr/bin/gnome-web-photo --mode=thumbnail --timeout=16 --size=%s %u %o

Normally you can reload the view to get the thumbnails. If you want to recreate all icons see here: Refresh thumbnails in nautilus

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.