MakeTechEasier
  • Home
  •  
  • About
  •  
  • Archives
  •  
  • Jobs
  •  
  • Advertise
  •  
  • Contact Us
  • Windows
  • Linux
  • Mac
  • Internet
  • WordPress
  • iPhone
  • Android
  • All Categories
    • Android RSS
    • Firefox RSS
    • Gaming RSS
    • Google RSS
    • google chrome RSS
    • Internet RSS
    • iPhone/iPod Touch RSS
    • Linux RSS
    • Mac RSS
    • Mobile RSS
    • OpenOffice RSS
    • PC Hardware RSS
    • Review RSS
    • Roundup RSS
    • Windows RSS
    • Windows Mobile RSS
    • WordPress RSS
    • WordPress Plugins RSS
  • rss icon
  • email icon
  • facebook icon
  • twitter icon

Ubuntu HowTo: Open .docx File In OpenOffice

Posted by: Damien on December 5th, 2007
  • View Comments
  • Share

If you have received a .docx file from your friends, most likely that you are not able to view it in Ubuntu’s Open Office. To fix this, you need to install the odf-converter.

First, go to http://download.novell.com/SummaryFree.jsp?buildid=ESrjfdE4U58 http://download.novell.com/Download?buildid=GuM6LMM9SR4 and download odf-converter-1.0.0-5.i586.rpm. It is about 3 MB.

The odf-converter file is in rpm format, which is used by RedHat Linux. To use this file, we need to convert it to tgz format. The application we are using to convert this file is alien

In your terminal,

sudo apt-get install alien

After downloading, start the conversion

sudo alien –to-tgz –script /dir/odf-converter-1.0.0-5.i586.rpm

where “dir” is the directory you saved the file.

Now, extract the file to a folder

tar xzf /dir/odf-converter-1.0.0.tgz

After extraction, copy the following files to the OpenOffice folder

sudo cp /dir/odf/usr/lib/ooo-2.0/program/OdfConverter /usr/lib/openoffice/program/

sudo cp /dir/odf/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 /dir/odf/usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Types/MOOXTypeDetection.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Types

That’s it. Open your OpenOffice and enjoy the .docx document.


Damien Oh is the owner and chief editor of Make Tech Easier

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Share and Enjoy!

  • StumbleUpon It!
  • reddit

Related Posts

  • How To Extract DAA Files In Ubuntu?
  • How to Install And Setup Ubuntu One In Kubuntu
  • How To Make Disappeared Icons In OpenOffice Return?
  • How to Convert .FLAC to .MP3 In Ubuntu
  • How To Install Dreamweaver CS3 In Ubuntu Hardy

Popular Posts

  • Turn Your Ubuntu Hardy to Mac OSX Leopard 502 comment(s)
  • Turn Your Ubuntu Intrepid Into Mac OSX Leopard 319 comment(s)
  • Download EASEUS Partition Master For Free – 24 Hours Only 178 comment(s)
  • How To Boot And Install Windows 7 From USB Flash Drive 137 comment(s)
  • 28 Coolest Firefox About:Config Tricks 126 comment(s)

Enjoyed the article? Subscribe to Make Tech Easier today to get your daily updates of technology tutorials, tips and tricks.

Enter your email:

  • pdc124
    tried that (openoffice 2.4) - it doesnt
  • Damien
    @pdc124: If you are using Ubuntu Hardy or above, your open office should be able to open .docx file by default
  • pdc124
    after sudo alien -t --scripts odf-converter-1.1-7.i586.rpm

    mine fails here

    ./usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Filter/MOOXFilter_cpp.xcu
    ./usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Filter/XLSXFilter.xcu
    ./usr/lib/ooo-2.0/program/
    ./usr/lib/ooo-2.0/program/OdfConverter
    tar: .: Cannot utime: Operation not permitted
    tar: Error exit delayed from previous errors
  • roespo
    After typing:
    sudo cp __LongTerm__ /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Filter

    I get:
    cp: cannot stat `__LongTerm__': No such file or directory

    anyone know how to sort this out?
  • zeta_no
    The line:

    sudo alien –to-tgz –script /dir/odf-converter-1.0.0-5.i586.rpm

    should be changed by:

    sudo alien --to-tgz --script /dir/odf-converter*.rpm

    therefore it works for the i586 and amd64 achitecture. Also, it should be -- instead of one long bar. You'll understand by copy and paste in a terminal.
  • Damien
    @Sonja: Download the latest version of Open Office. It support .docx format
  • Sonja
    how do you create a symbolic link? :(
  • unicynic
    Thanks! I tried but didn't work at first in Hardy Heron. However, I managed at last by creating a symbolic link libtiff.so.3 to libtiff.so.4.2.1 and then installing libgif4.
    Only after that will your steps work in Ubuntu 8.04 (Hardy Heron) with OpenOffice 2.4.
    FYI, I used odf-converter-1.1-7.i586.rpm linked here.
  • Damien Oh
    @Kristjan: thanks for the link update.
  • Kristján
    Here is a link for the newest version. odf-converter-1.1-7.i586.rpm

    http://download.novell.com/Download?buildid=GuM...
  • Kristján
    The Novell link is broken. At least for me :)
blog comments powered by Disqus

Our Writers

  • Damien Oh - Chief Editor
  • Joshua Price
  • Shevonne Polastre (FreeAgentWriter)
  • Tavis J. Hampton (Lantern Torch)
  • Trevor Dobrygoski
  • Soumen Halder (Ampercent)
  • Sharninder Khera (Geeky Ninja)
  • Tanmay Ahmed (Tech-Tips-Geek)
  • Write for us

Latest Posts

  • BaseKit: Easily Create a Website From Photoshop
  • YuuGuu – Free and Easy Web Conferencing
  • How To Pin Any Files/Folders To Windows 7 Taskbar
  • Manage Your RSS Feed In Mac With NetNewsWire
  • How to Migrate From Blogger.com to Self-Hosted WordPress
Make Tech Easier on Facebook
Jobs by SimplyHired
Job Widgets

Copyright

All the articles (including the text, images and tutorials) are properties of MakeTechEasier.

You cannot copy whole tutorials, either in English or translate to another language without our permission.

Write for us

Writing a tutorial or article for MakeTechEasier is a great way to get exposure and give back to the community.

Read More Details

Suggestions

We need your help to help us serve you better! This is YOUR site, so if you have suggestions/feedbacks on how we can improve it for you, please let us know! We do our best to make this place better!

Make a Suggestion

Navigation

  • Home
  • About Us
  • Advertise
  • Jobs
  • Archives
  • Contact Us

Copyright © 2007-2010 Make Tech Easier | All Right Reserved.