Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

engrampa does'nt open odt files #193

Closed
ghost opened this issue Feb 7, 2018 · 7 comments
Closed

engrampa does'nt open odt files #193

ghost opened this issue Feb 7, 2018 · 7 comments

Comments

@ghost
Copy link

ghost commented Feb 7, 2018

engrampa should open odt files (or ods) files.

engrampa does'nt open those files (while trying to open, engrampa reports:...engrampa does not support odt-type of archives).

file-roller can open these files, because odt files are sort of zip-archives.

Steps to reproduce the behaviour

Mate 1.18.0

1.18.3

Linuxmint 18.3

Link to downstream report of your Distribution

@flexiondotorg
Copy link
Member

flexiondotorg commented Feb 7, 2018

odt is a file format from the Open Document Foundation used by software such as LibreOffice. Why should Engrampa be able to open such files?

@ghost
Copy link
Author

ghost commented Feb 7, 2018

Yes, i know.
but odt is, as I said, a zip-format. You can open it (e.g. with file-roller[!]) and change the content, which could be sometimes necessary).
as engrampa is a fork of file-roller I expected it to have the same features

@alexarnaud
Copy link
Member

alexarnaud commented Feb 8, 2018 via email

@ghost
Copy link
Author

ghost commented Feb 8, 2018

Okay, seems that engrampa cannot.
Since engrampa is the default unzip program in mate I thought it should be able to do what most other unzip programs (including file-roller) can do.

Edit:
As a work-around: I can rename the odt file from xxx.odt in xxx.odt.zip and only then engrampa can open it.

Okay, I only wondered at the difference between file-roller and engrampa.

@alexarnaud
Copy link
Member

@flexiondotorg is there any easyHacks label for Mate ?

Maybe it could just be a little trick to make ODT recognize as supported mime-type. But I haven't look more deeply because I'm busy on accessibility stuff.

Best regards.

@GM-Script-Writer-62850
Copy link

Here are some mime types:

application/vnd.oasis.opendocument.presentation
application/vnd.oasis.opendocument.presentation
application/vnd.oasis.opendocument.spreadsheet
application/vnd.oasis.opendocument.text
application/vnd.oasis.opendocument.presentation-template
application/vnd.oasis.opendocument.spreadsheet-template
application/vnd.oasis.opendocument.text-template

Here is the list of mime types for zip files in engrampa:
https://github.com/mate-desktop/engrampa/blob/master/src/fr-command-zip.c#L384-L389
Try adding them, compiling engrampa, and see if they work

@ghost
Copy link

ghost commented Aug 1, 2018

@alexarnaud The most ease trick is just to do a symlink (rename if you prefer) to something.zip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants