0

I cannot set as default program libre office instead of wps for docx files only. I can set libre office as default for doc files though. Why?

Andros
  • 41
  • 1
  • 2
  • 7

3 Answers3

2

Changing default application in GUI

  1. Right-click your .docx file.
  2. Click in Properties.
  3. Select Open With tab.
  4. Select application from lists Related Applications or Other Application.
  5. Click in Set as default.
  6. Close Properties window.

If you want to rollback your change:

  1. Follow steps 1 to 3.
  2. Click in Reset.
  3. Close Properties window.
1

Pulled from here, use your editor of choice (and sudo/gksudo, thanks Weboide) to modify /usr/share/applications/defaults.list to have the following line:

application/docx=wps-office-wps.desktop

For all the other file types relating to Office programs (e.g. xls, doc), you can set a different editor e.g.

application/xlsx=libreoffice-writer.desktop
0

After a fresh re-instalation of both libre and wps I can now set libre as default through the right click menu

Andros
  • 41
  • 1
  • 2
  • 7