Apple pages file type should be added to MIME types
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shared-mime-info |
Fix Released
|
Unknown
|
|||
mime-support (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
shared-mime-info (Ubuntu) |
Fix Committed
|
Low
|
Unassigned |
Bug Description
LibreOffice can open .pages files (from Apple pages). However, the mime type for these files is incorrectly just application/zip:
$ file --mime-type example.pages
example.pages: application/zip
Instead, it should be application/
This would allow the user to associate LibreOffice Writer with these types of files, and use it to open this file. (LibreOffice Writer can open .pages files)
Apple Keynote files should have this MIME type: application/
Apple Numbers files should have this MIME type: application/
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: mime-support 3.64ubuntu1
ProcVersionSign
Uname: Linux 5.4.0-29-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu May 14 14:46:40 2020
InstallationDate: Installed on 2018-11-11 (550 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
PackageArchitec
SourcePackage: mime-support
UpgradeStatus: Upgraded to focal on 2020-04-18 (25 days ago)
Changed in shared-mime-info: | |
status: | Unknown → Fix Released |
Hello,
You can add `application/ vnd.apple. pages pages` in `/etc/mime.types` on your system, and I will do it in a future update of the `mime-support` package, but it will not effect the output of the `file` command, which uses a different database.
You can open a bug on the `file` package to request it, but please have a look if you can at <https:/ /github. com/file/ file/tree/ master/ magic> before: as you will see, unless you can provide a “magic number” for that format (a proprietary format from a proprietary software, if I may comment), it may not be possible to detect it.
You can also have a look at the `shared-mime-info` package for another way to associate the `.pages` file suffix to the `application/ vnd.apple. pages` media type.
Have a nice day,
Charles Plessy