April 1, 2008 · General · Email This Post

Sponsored Link
As most company standard builds are now including Microsoft office 2007 you will start seeing more .docx documents. This has been covered time and time again but still people still ask the question.

If you wish to open up a .docx document in OpenOffice you can do this two ways: (See update)

Install ODF Converter from .deb's

Download the convertor

i386 -- ftp://ftp-mirror.internap.com/pub/www.getdeb.net/od/odf-converter_1.0.0-2~getdeb1_i386.deb
wget ftp://ftp-mirror.internap.com/pub/www.getdeb.net/od/odf-converter_1.0.0-2~getdeb1_i386.deb

Amd64 -http://cesium.di.uminho.pt/pub/getdeb/od/odf-converter_1.0.0-2~getdeb1_amd64.deb
wget http://cesium.di.uminho.pt/pub/getdeb/od/odf-converter_1.0.0-2~getdeb1_amd64.deb

Install the package

i386 users

sudo dpkg -i odf-converter_1.0.0-2~getdeb1_i386.deb

amd64 users
sudo dpkg -i odf-converter_1.0.0-2~getdeb1_amd64.deb

Install ODF Converter from Novell

Download the file odf-converter rpm from here

Now you need to install alien using the following command

sudo aptitude install alien

Use alien to convert it to a Slackware tgz file:
fakeroot alien -ct odf-converter-1.0.0-5.i586.rpm

Unpack the slackware tgz file:
tar xzf odf-converter-1.0.0.tgz

Copy three files into your OpenOffice.org directories --- note that the usr that you're copying from is a directory that was inside the tgz file.
sudo cp usr/lib/ooo-2.0/program/OdfConverter /usr/lib/openoffice/program/

sudo cp usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Filter/MOOXFilter_cpp.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Filter/

sudo cp usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Types/MOOXTypeDetection.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Types/

Restart OpenOffice, and enjoy. You can now open and edit .docx files using OpenOffice.org.

Update odf-converter-integrator (thanks Lutfi)

odf-converter-integrator is an easy way to open Microsoft Office 2007 files (also called Office Open XML, .docx, .xlsx, and .pptx) with a high-quality conversion on any Linux or Windows system in any OpenOffice.org.

Chocolate edition

sudo apt-get install libgif4
dpkg -i odf-converter-integrator-chocolate*deb

Strawberry edition

If the latest strawberry .deb is not available, make one from the latest .rpm using alien. After that:

sudo apt-get install libgif4
sudo ln -s /usr/lib/libtiff.so.4 /usr/libtiff.so.3
dpkg -i odf-converter-integrator*deb

http://katana.oooninja.com/w/odf-converter-integrator

Sponsored Link

Incoming search terms:

Related posts

11 Comments to “Ubuntu Tip: How to Open/View .docx files in OpenOffice”

  1. D4LT0N says:

    Hey, nice hint. Do you know when Open Office 2.4 will be release with Ubuntu? I hope not only with Intrepid Ibex…

    [Reply]

  2. admin says:

    openoffice 2.4 will be coming with ubuntu 8.04 (hardy heron) i.e next release

    [Reply]

  3. Lutfi says:

    Odf-Converter-1.0 from Getdeb.net is old version. Only read/write .docx file but for .xlsx and .pptx just read. The new version (1.1) already provide by http://katana.oooninja.com/w/odf-converter-integrator and off course Novell ;-)

    [Reply]

  4. nitr8 says:

    thanks Lutfi,

    just updated main post :)

    –me

    [Reply]

  5. Vikas says:

    It is not clear which converter converts better. Or are they just the same?

    [Reply]

  6. Michael Vogt says:

    You’ll probably want to change this:
    sudo aptitude install alen

    into this:
    sudo aptitude install alien

    [Reply]

  7. admin says:

    @Michael

    thanks for this.I have updated the article

    [Reply]

  8. nitr8 says:

    @ admin,

    thanks you beat me too it :)

    –me

    [Reply]

  9. tweedicus says:

    Open and Save .docx in available by default in OpenOffice 2.4 which is in Hardy 8.04. I’m running the beta and can open and save .docx with no problem. Incidentally, I’m finding the beta 8.04 just as rock solid stable as 7.10. It’s a beautiful OS.

    [Reply]

  10. be4truth says:

    Unfortunately on my Gutsy 64 bit system installing ‘libgif4′ wants to remove mplayer and DVD-Rip. That’s not a good deal :-).

    [Reply]

  11. Mark Preston says:

    I pasted your:

    ftp://ftp-mirror.internap.com/pub/www.getdeb.net/od/odf-converter_1.0.0-2~getdeb1_i386.deb

    into FF and when it opened, it came with GDebi Installer. I ran it from there. Next I opened OOWriter and tried to save a file with the .docx extension, but didn’t see that option. As the GDebi installer didn’t show a problem, I guess nothing is wrong.

    [Reply]

Leave a Reply