Ubuntu Geek

Ubuntu Linux Tips,Howtos&Tutorials|Edgy,Feisty,Gutsy,Hardy,Intrepid

  • RSS Feed

    subscribe to the ubuntu Geek RSS feed


  • Sponsor



  • Categories

  • Meta

  • Sponsor

  • Archives

  • Support Ubuntugeek

    Amount $:
    Website(Optional):


  • Favourite Sites

Ubuntu Tip: How to Open/View .docx files in OpenOffice

Posted by nitr8 on April 1st, 2008 Email This Post Email This Post

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

Share/Save/Bookmark

If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!

Related Articles

11 Responses 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…

  2. admin Says:

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

  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 ;-)

  4. nitr8 Says:

    thanks Lutfi,

    just updated main post :)

    –me

  5. Vikas Says:

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

  6. Michael Vogt Says:

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

    into this:
    sudo aptitude install alien

  7. admin Says:

    @Michael

    thanks for this.I have updated the article

  8. nitr8 Says:

    @ admin,

    thanks you beat me too it :)

    –me

  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.

  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 :-).

  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.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>