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

2 Answers 2

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

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.