Opened 4 years ago

Last modified 4 years ago

#21372 closed defect

[PATCH] Add application/osm+xml to linux .desktop files — at Version 6

Reported by: taylor.smock Owned by: team
Priority: normal Milestone: 21.10
Component: Core Version:
Keywords: mime, desktop, linux Cc: jose1711

Description (last modified by skyper)

From IRC:

hello, would it be possible to append application/osm+xml MimeType to https://josm.openstreetmap.de/browser/josm/trunk/native/linux/latest/usr/share/applications/org.openstreetmap.josm-latest.desktop (and perhaps tested too)? without this Nautilus is not listing JOSM as an associated application on my Arch box


I'm not certain what application is setting application/osm+xml for .osm files, but apparently something is. Anyway, this should fix that user's problem.

Change History (6)

comment:1 by taylor.smock, 4 years ago

Description: modified (diff)

comment:2 by jose1711, 4 years ago

Cc: jose1711 added
Description: modified (diff)

comment:3 by skyper, 4 years ago

All compressions beside zip are missing, too. E.g. *.osm.gz,*.osm.bz,*.osm.bz2 and *.osm.xz are offered in the save dialog but JOSM is not under the recommended applications in the file manager.

comment:4 by taylor.smock, 4 years ago

Description: modified (diff)

Good to know. Do you happen to have the mimetypes handy? Mac isn't giving me anything useful.

comment:5 by skyper, 4 years ago

Description: modified (diff)
TEST.osm.bz:  application/x-bzip
TEST.osm.bz2: application/x-bzip
TEST.osm.gz:  application/gzip
TEST.osm.xz:  application/x-xz

BTW: Your patch is missing the part for tested e.g. josm.

comment:6 by skyper, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.