#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 )
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)
Change History (16)
comment:1 by , 4 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 4 years ago
| Cc: | added |
|---|---|
| Description: | modified (diff) |
comment:3 by , 4 years ago
comment:4 by , 4 years ago
| Description: | modified (diff) |
|---|
Good to know. Do you happen to have the mimetypes handy? Mac isn't giving me anything useful.
follow-up: 7 comment:5 by , 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 , 4 years ago
| Description: | modified (diff) |
|---|
comment:7 by , 4 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.
comment:8 by , 4 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 , 4 years ago
| Attachment: | 21372.patch added |
|---|
comment:9 by , 4 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.*.
comment:10 by , 4 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:12 by , 4 years ago
| Milestone: | → 21.09 |
|---|
comment:14 by , 4 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.



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