Well, as for now it is not a problem anymore to open Microsoft Office 2007 .docx documents in any Linux distribution coming with OpenOffice suit. It may be Ubuntu (Feisty, Gutsy, Interpid whatever), almost any version of Fedora/RedHat/Centos, *SUSE, Mandriva and of course Debian (as per my personal opinion it’s the best one).

What is .docx actually? It’s Microsoft’s file format representing word processor documents and named OpenXML (as an attempt to create open and free international standard). Today .docx is default format for Microsoft’s word processor Word.

There are myriads of online converters between OpenXML and OpenOffice formats including .docx, .xlsx, .odt and many etc but sometimes it’s much more better to just open received .docx file in Linux offline (if there is temporarily no Internet connection or for security/private reasons etc).

So, just download the following package to certain directory like /usr/src, here are the commands to do it:

1. cd /usr/src
2. sudo wget http://blog.mypapit.net/imej/odf_filter.tar.bz2

The next step is to unpack the contents of the archive (.tar.bz2 is definitely well compressed file) and copy 3 files to OpenOffice’s system directories:

3. sudo tar -xvjf odf_filter.tar.bz2
4. sudo cp OdfConverter /usr/lib/openoffice/program/

5. sudo cp MOOXTypeDetection.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Types/
6. sudo cp MOOXFilter_cpp.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Filter/

As you can see from picture below now it’s possible to natively open .docx files in openoffice under Linux. Of course such “native” support may imply some artefacts in opened files due to file formats incompatibility so it’s also a good option to ask your friends to convert .docs into .pdf before sending you 🙂

openoffice openxml .docx

P.S. Thanks to guys from mypapit.

P.S. Here are several online converters .doc(x) <-> .odf <-> .pdf:

1. ZAMZAR (possibly the best converter), 2. http://docx-converter.com/.




  1. December 15, 2008  8:55 pm by Mihai Secasiu Reply

    Last time (a few months ago )I tried to open .docx in open office it worked ( on ubuntu 8.04 I think ) but the conversion was not accurate. It lost formatting and layout. Is the conversion 100% accurate now ?

  2. December 15, 2008  8:58 pm by Ryan Reply

    Doesn't OOo 3.0 already support .docx natively?

  3. February 25, 2009  12:37 am by PalaceStationCasino Reply

    Thanks for the tips!

  4. April 28, 2009  10:21 pm by LaughlinNVhotels Reply

    just what i needed.

  5. July 6, 2010  9:00 am by how to get free rapidshare account Reply

    the post is pretty informative. it actually provide me what im searching for. Thanks for Sharing

  6. March 23, 2012  4:18 am by Bank Card USA Reply

    Your blogs build is simple and clean and i really like it. Your blog posts are the best. Please keep them coming. Great!!!

  7. October 25, 2012  8:49 am by Zarfishan Zahid Reply

    If you want to convert your docx document to doc then try using http://saaspose.com/api/words it is free of cost and provides many other features also.

  8. March 22, 2013  9:16 pm by tickets air flight Reply

    Very nice post. I just stumbled upon your weblog and wished to mention that I have really loved browsing your weblog posts. In any case I will be subscribing for your rss feed and I'm hoping you write again very soon!| tickets air flight http://www.funtraveldeals.com/book-flights/

Leave a reply


Your email address will not be published.