im using ubuntu raring 64 bit now, i just downloaded kingsoft office for i686 arhcitecture, unfortunantely it seemed that i downloaded it wrongly (i downloaded the 32 bit rpm version!) and forced to install it by using alien (let say the package name is kingsoft64.rpm) this way:

alien --to-tgz Kingsoft64.rpm 

Then i extract the tgz file generated by code above (ex. Kingsoft64.tgz which resulted a directory named Kingsoft (not the real folder name) ), then i did this:

> me@mycomp:$cd ~/Kingsoft
> me@mycomp:~/Kingsoft$ ls
> install opt usr

I copy the opt and usr folder and merge it to /opt and /usr folder in my root directory, the last thing i did was executing doinstall.sh which is located at ~/KIngsoft/install, The doinstall.sh contain following script:

/usr/bin/update-mime-database /usr/share/mime &> /dev/null || :
/usr/bin/update-desktop-database &> /dev/null || :
/bin/touch --no-create /usr/share/icons/hicolor &>/dev/null || :
if [ -x /usr/bin/fc-cache ]; then 
    /usr/bin/fc-cache /usr/share/fonts/wps-office || : 

The Kingsoft office writer can be ran correctly by running from terminal with:


and the Kingsoft office presentation tool was also can be ran correctly with:


The only problem is, the docx file asscociation is likely to be shared with Libre Office 4.1 (installed previously on my system) and with Kingsoft office, so when i try to double clicked a .docx document, LO and Kingsoft Office were ran together simultaneously to open the .docx file,

How can i get rid the .docx file association from LO to make sure when i click .docx document it only opened with Kingsoft office and not opened together with LO? Thanks in advance ...


To open .docx with Kingsoft Writer as default, just right click on the .docx file, and click on properties. Once the properties window open, click on the open with tab, choose Kingsoft witer, and click on Set as Default. See images below.

enter image description here

enter image description here

| improve this answer | |
  • Completely worked! But another question, if I want to know where do the mime type configration files are, and how to config or asscociate it with some application, where should I start? – Musto Aug 31 '13 at 18:03
  • Take a look at ~/.local/share/applications/mimeapps.list – Mitch Aug 31 '13 at 18:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.