4

This might be an odd question, but I like to know how to make file-roller except odt files to be opened.

I am working pretty much with odt files as templates. I need to open them quite often and look into the containing xml files for some nerdy developer reasons.

In the past (12.04 and before) file-roller would open odt files without problem (since they are simple zip compressed files with an other ending). In 14.04 and 16.04 I had to do some magic (I do not recall) via gconf-editor to make file-roller open those odt files without renaming them to a .zip ending.

Now I am on 18.04 and there is not much configuration left in gconf and I cannot find anything related in dconf either.

So could somebody please enlighten me on how file-roller determines that ".odt" is a not-supported fileytype or a solution on how to teach file-roller to open my odt files without renaming them beforehand.

I already tried to add odt to the zip section in /etc/mime.types, but this does not seem to have any impact on file-roller.

Many thx for any hints into the right direction.

[UPDATE] @clearkimura

I use Nemo, but same with nautilus.

Output of file *.odt; mimetype *.odt Odt file right-click context menu [/UPDATE]

mondjunge
  • 3,336

3 Answers3

2

I guess it is a bug in file-roller.

I updated included file-roller version 3.28.0 to version 3.30.1 from 18.10 with the amd64 .deb file from here: https://ubuntu.pkgs.org/18.10/ubuntu-main-amd64/file-roller_3.30.1-1_amd64.deb.html

With the updated file-roller package .odt files can be opened again. This might not be the optimal way to install backports, but in this case it works without sideeffects.

mondjunge
  • 3,336
1

This worked for me

Install xarchiver right click and >open with other applications choose xarchiver.

Vijay
  • 8,556
1

I think your points is How to extract .odt archived as xml files? am i correct???

if i'm correct. follow the commands :

$ sudo mv ".odt" "filename" #move to `.odt` file as filename without extension
$ file-roller "filename" #open filename to view xml files archived

you can see archived like below.

Forgive me about my bad grammars and Hope this helps.

enter image description here