Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#21372 closed defect (fixed)

[PATCH] Add application/gpx+xml to linux .desktop files

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/gpx+xml for .gpx files, but apparently something is. Anyway, this should fix that user's problem.

Attachments (1)

21372.patch (2.0 KB ) - added by taylor.smock 3 years ago.

Download all attachments as: .zip

Change History (16)

comment:1 by taylor.smock, 3 years ago

Description: modified (diff)

comment:2 by jose1711, 3 years ago

Cc: jose1711 added
Description: modified (diff)

comment:3 by skyper, 3 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, 3 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, 3 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, 3 years ago

Description: modified (diff)

in reply to:  5 comment:7 by taylor.smock, 3 years ago

Replying to skyper:

TEST.osm.bz:  application/x-bzip
TEST.osm.bz2: application/x-bzip
TEST.osm.gz:  application/gzip
TEST.osm.xz:  application/x-xz

I was hoping for something more specific. :(

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

I don't see a desktop file for tested. I'll see if I can find it.

EDIT: Different path entirely.

Last edited 3 years ago by taylor.smock (previous) (diff)

comment:8 by jose1711, 3 years ago

Description: modified (diff)
Summary: [PATCH] Add application/osm+xml to linux .desktop files[PATCH] Add application/gpx+xml to linux .desktop files

by taylor.smock, 3 years ago

Attachment: 21372.patch added

comment:9 by skyper, 3 years ago

Description: modified (diff)
Summary: [PATCH] Add application/gpx+xml to linux .desktop files[PATCH] Add application/osm+xml to linux .desktop files

Sorry, I was wrong about *.osm.zip. It is not working either. So no compression besides *.joz is supported, atm.
Got mixed up with a strange behavior as JOSM is recommended for empty files independent of the extension.

Guess, it cannot be restricted to *.osm.* and *.xml.*.

Last edited 3 years ago by skyper (previous) (diff)

comment:10 by skyper, 3 years ago

Description: modified (diff)
Summary: [PATCH] Add application/osm+xml to linux .desktop files[PATCH] Add application/gpx+xml to linux .desktop files

comment:11 by skyper, 3 years ago

Ah, forgot: TEST.osm.zip: application/zip

comment:12 by Don-vip, 3 years ago

Milestone: 21.09

comment:13 by Don-vip, 3 years ago

Resolution: fixed
Status: newclosed

In 18226/josm:

fix #21372 - Add application/gpx+xml to linux .desktop files (patch by taylor.smock)

in reply to:  11 comment:14 by taylor.smock, 3 years ago

Replying to skyper:

Ah, forgot: TEST.osm.zip: application/zip

Sorry, I left soon after I uploaded the last patch. I'll open a new ticket for application/zip.

comment:15 by Don-vip, 3 years ago

Milestone: 21.0921.10

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.