Find the answer to your Linux question:
Results 1 to 3 of 3
When I try to compare .odt files using meld i geat the error message file appears to be bainary. When I try using Diffuse, it shows the files in code, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2008
    Posts
    2

    Meld nor diffuse merge will read my .odt files as text


    When I try to compare .odt files using meld i geat the error message file appears to be bainary. When I try using Diffuse, it shows the files in code, not as text.
    Any ideas?

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    I didn't think any Linux utilities existed to do that kind of thing. Certainly meld has failed me in the past, in that regard. A quick look brought up Deltawalker, which sounds promising, though I'm not sure what the deal is with versions/pricing.

  3. #3
    drl
    drl is offline
    Linux Engineer drl's Avatar
    Join Date
    Apr 2006
    Location
    Saint Paul, MN, USA / CentOS, Debian, Slackware, {Free, Open, Net}BSD, Solaris
    Posts
    1,293
    Hi.

    The odt and other formats from {open,libre}office are really packages of files. For example, looking at an unzipped odt file of a Hello, world line, one sees the collection of objects (using utility tree):
    Code:
    |-- Configurations2
    |   |-- accelerator
    |   |   `-- current.xml
    |   |-- floater
    |   |-- images
    |   |   `-- Bitmaps
    |   |-- menubar
    |   |-- popupmenu
    |   |-- progressbar
    |   |-- statusbar
    |   |-- toolbar
    |   `-- toolpanel
    |-- META-INF
    |   `-- manifest.xml
    |-- Thumbnails
    |   `-- thumbnail.png
    |-- content.xml
    |-- manifest.rdf
    |-- meta.xml
    |-- mimetype
    |-- settings.xml
    `-- styles.xml
    So what did you want meld to compare for you?

    If it was the content -- which is what I would probably want -- you can use:
    Code:
    Name
           loconvert - Commandline Document Converter Using LibreOffice
    ...
    which will produce the plain-text version of the file if you were to use, for example:
    Code:
    loconvert hello1.odt hello1.txt
    loconvert hello2.odt hello2.txt
    and then you could use meld on the resulting text files.

    Other than that, it is not clear what you might want.

    Best wishes ... cheers, drl
    Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
    90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
    We look forward to helping you with the challenge of the other 10%.
    ( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •