Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using LibreOffice 4.0 on Windows 7 and I have noticed that it saves files (for example Writer) with a preview. (The icon of the file shows what's inside it, it looks like a page).

How do I turn it off? I want to to be a normal Writer icon. (A bit like MS Office does, it saves the file with the default icon).

How can I do this?

share|improve this question

migrated from askubuntu.com Apr 16 '13 at 18:38

This question came from our site for Ubuntu users and developers.

1  
Most thumbnail previews in Windows are handled by shell extensions. You can hunt for and disable the relevant shell extension with ShellExtView. –  Bob Apr 16 '13 at 18:39

3 Answers 3

up vote 4 down vote accepted

In fact, a LibreOffice feature is the creation of thumbnails, so you could see a "preview" of the contents instead of the Writer icon in file manager. Check for yourself by changing the extension of (a copy of) one LO document to .zip and open the Thumbnails folder.

I don't know if it is possible to disable this feature.

Looking around in Ask.Libreoffice, I found the following:

  • That more details are given here

  • That you can find instructions on how to remove that image in the answers to this question.

In summary:

  1. Rename your file to filename.zip.
  2. Open .zip file and, from within file-roller, peazip or whatever you are using.
  3. Navigate to the folder META-INF and open manifest.xml in gedit or equivalent plain text editor`.
  4. Delete the line

    <manifest:file-entry manifest:full-path="Thumbnails/thumbnail.png" manifest:media-type="image/png">

  5. Back in the main folder of the zip file, delete the folder Thumbnails.

  6. Close and rename back to the original ODF extension.

Note: This is valid for LibreOffice files, irrespective of the OS.

As for the OP's question, is a matter of either disabling the thumbnail preview as suggested in comments or deleting the thumbnail and setting a password so the contents of the file cannot be seen by anybody, depending on what the real needs or desires are.

share|improve this answer

While this is not strictly speaking an answer to the original question (because unix shell scripts won't work on Win7, unless you install Cygwin from http://www.cygwin.com), I had the same problem, and came up with a trim-odt shell script that removes the thumbnails from libreoffice documents, at https://github.com/fourmond/utils.

share|improve this answer

Take a look at the answer here of LibreOffice configuration:

http://ask.libreoffice.org/en/question/36746/is-there-any-way-to-disable-saving-thumbnails-in-odtods/

According to the post, the choice of saving a preview thumbnail is a setting that you can change:

    Tools → Options... → LibreOffice → Advanced → Expert Configuration

Select the preference named: org.openoffice.Office.Common/Save/Document

Double clicking on it toggles the value to false.

share|improve this answer
    
Welcome. Your answer is just a link to an external answer. If that site is unavailable, your answer would provide nothing of value. In addition to the link, summarize the key points of the solution so someone can solve the problem by reading your answer, and the link serves as "further reading" and attribution. Notice that the accepted answer (which got 4 upvotes), was similarly based on a solution found somewhere else. That's a good example of how to write a high-quality answer that gets recognized. BTW, even after an answer is accepted, other good answers can get upvotes. –  fixer1234 Nov 19 at 23:13
    
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  DragonLord Nov 19 at 23:22

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.