Exec key from desktop files gets trimmed when installed by snapd

Bug #1658123 reported by Olivier Tilloy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Olivier Tilloy

Bug Description

Since snapcraft 2.25 (and the fix for bug #1588359), desktop files get invalid Exec keys for some snaps, and it appears that consequently snapd removes the key altogether when installing the snap.

$ grep Exec /snap/tus/current/meta/gui/tus.desktop
Exec=tus.tus %U

(note how `tus.tus` is not a valid alias, it won’t launch if executed in a terminal, the valid command is `tus`)

$ grep Exec /var/lib/snapd/desktop/applications/tus_tus.desktop || echo "no Exec line"
no Exec line

Olivier Tilloy (osomon)
Changed in snapcraft:
assignee: nobody → Olivier Tilloy (osomon)
status: New → In Progress
Revision history for this message
Olivier Tilloy (osomon) wrote :
Changed in snapcraft:
importance: Undecided → High
milestone: none → 2.26
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.