[Solved] Archives, odt (and docx)

Discuss the word processor
Post Reply
G_Ranger
Posts: 10
Joined: Thu Jun 29, 2017 4:40 pm

[Solved] Archives, odt (and docx)

Post by G_Ranger »

Hello,
I have always been able, using ubuntu, to open .odt files or indeed .docx files, using the Ubuntu Archive Manager. This can be quite useful to perform batch operations on metadata (making comments anonymous, for example, when a reviewer has forgotten to remove his/her information). Now, this no longer appears to be possible, with Ubuntu 18.04. I'm not sure if this is question for ubuntu or for OpenOffice, but any help in encouraging the Archive Manager to let me get at the xml files would be appreciated!
G. R.
Last edited by G_Ranger on Thu Feb 07, 2019 6:06 pm, edited 1 time in total.
LibreOffice 6.0.6.2 Ubuntu 18.04
jrkrideau
Volunteer
Posts: 3816
Joined: Sun Dec 30, 2007 10:00 pm
Location: Kingston Ontario Canada

Re: Archives, odt (and docx)

Post by jrkrideau »

I was under the impression that one always had to rename the file from myfile.odt to myfile.zip?
LibreOffice 7.3.7. 2; Ubuntu 22.04
G_Ranger
Posts: 10
Joined: Thu Jun 29, 2017 4:40 pm

Re: Archives, odt (and docx)

Post by G_Ranger »

Brilliant! Thanks. In the past I'm sure Archive Manager was more obedient but now it claims not to be able to open these "files". Renaming the file did the trick! Thanks.
LibreOffice 6.0.6.2 Ubuntu 18.04
Bill
Volunteer
Posts: 8932
Joined: Sat Nov 24, 2007 6:48 am

Re: Archives, odt (and docx) [SOLVED]

Post by Bill »

It may be a regression in the version of Archive Manager in Ubuntu 18.04. Archive Manager opened .ods, .odt and .oxt files for me on Ubuntu 18.10 without having to rename the files. Engrampa Archive Manager in Manjaro will also open the files without renaming.
AOO 4.1.14 on Ubuntu MATE 22.04
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Archives, odt (and docx) [SOLVED]

Post by RoryOF »

i think a different Archive Manager was used in Ubuntu 16.04; that Archive Manager knew that .odt (etc) files were .zip and opened them. The Engrampa Archive Manager of Xubuntu 18.04 needs these files renamed to .zip.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Archives, odt (and docx) [SOLVED]

Post by John_Ha »

RoryOF wrote:i think a different Archive Manager was used in Ubuntu 16.04; that Archive Manager knew that .odt (etc) files were .zip and opened them. The Engrampa Archive Manager of Xubuntu 18.04 needs these files renamed to .zip.
Does Engrampa Archive Manager have a setting where you can specify that .od* files are to be treated as ZIP files?
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Archives, odt (and docx) [SOLVED]

Post by RoryOF »

Not that I can find, John. Possibly in source - may look later.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
User avatar
robleyd
Moderator
Posts: 5055
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Archives, odt (and docx) [SOLVED]

Post by robleyd »

Seems Engrampa is just a[nother] GUI front end to the command line utilities like zip and tar; so you could cut out the middle man and simply do this from the command line;
$ unzip oofile.ods
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.1.2; SlackBuild for 24.2.1 by Eric Hameleers
Bill
Volunteer
Posts: 8932
Joined: Sat Nov 24, 2007 6:48 am

Re: Archives, odt (and docx) [SOLVED]

Post by Bill »

I can't find any options that the user can change in either the Gnome Archive Manager (Ubuntu) or Engrampa (MATE, Xubuntu) that would affect support of ODF files. Since Ubuntu 18.04 is a LTS release, the archive managers in Ubuntu, Ubuntu MATE and Xubuntu 18.04 are old versions. Support for the ODF file formats was probably added to both archive managers after Ubuntu 18.04 was released.

Edit: Engrampa 1.20.2 also opens DOCX files.
AOO 4.1.14 on Ubuntu MATE 22.04
User avatar
Hagar Delest
Moderator
Posts: 32627
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Solved] Archives, odt (and docx)

Post by Hagar Delest »

file-roller works fine also, without renaming. I think that I used to use it from a long time ago.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Post Reply