How can I instruct nautilus to pre-generate thumbnails?

Posted by Glutanimate on Ask Ubuntu See other posts from Ask Ubuntu or by Glutanimate
Published on 2012-10-11T21:45:43Z Indexed on 2012/10/11 21:48 UTC
Read the original article Hit count: 254

Filed under:
|
|
|

I have a large library of PDF documents (papers, lectures, handouts) that I want to be able to quickly navigate through. For that I need thumbnails.

At the same time however, I see that the ~/.thumbnails folder is piling up with thumbs I don't really need. Deleting thumbnail junk without removing the important thumbs is impossible. If I were to delete them, I'd have to go to each and every folder with important PDF documents and let the thumbnail cache regenerate.

I would love to able to automate this process. Is there any way I can tell nautilus to pre-cache the thumbs for a set of given directories?

Note: I did find a set of bash scripts that appear to do this for pictures and videos, but not for any other documents. Maybe someone more experienced with scripting might be able to adjust these for PDF documents or at least point me in the right direction on what I'd have to modify for this to work with PDF documents as well.

© Ask Ubuntu or respective owner

Related posts about nautilus

Related posts about pdf