Opened 5 years ago
Closed 5 years ago
#17824 closed defect (fixed)
Command line substitution in .desktop file uses incorrect pattern
Reported by: | mlundblad | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | 19.06 |
Component: | Core | Version: | |
Keywords: | linux desktop | Cc: |
Description
Hi!
The .desktop file JOSM uses %F for the command line.
Although the application registers as a handler for x-scheme-handler/geo.
In this case the pattern should probably be %U (could be either URLs or bare file paths).
We just added support in gnome-maps for opening a location in any app that lists itself as handling x-scheme-handler/geo. And GIO doesn't expand the argument when calling g_application_launch_uris when the .desktop file has %F (or %f).
Changing %F to %U makes it actually calling JOSM with the geo: URI as an argument. But that isn't quite working, but I'll file another bug for that…
Thanks!
Attachments (0)
Change History (4)
comment:1 by , 5 years ago
Keywords: | linux desktop added |
---|---|
Milestone: | → 19.06 |
comment:2 by , 5 years ago
comment:3 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Documentation: https://specifications.freedesktop.org/desktop-entry-spec/1.2/ar01s07.html