← Back to issue list

desktop file Exec mangling broken

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1814907
Type
issue
State
closed
Author
~apachelogger
Labels
19.04 19.04-blue
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Closed without resolution. Snapcraft failed to mangle desktop file Exec lines to the $snap.$app format, leaving them unmodified. No fix or follow-up was provided.

Suggested action:

No scores available.

Issue body

According to https://docs.snapcraft.io/the-snap-format/698 the Exec line of desktop files should be in the form $snap.$app. Snapcraft apparently doesn't mangle desktop files it picks up via `apps.$app.desktop` or appstream magic though. Example https://github.com/apachelogger/snap-appstreamtest ``` ➜ grep Exec prime/meta/gui/kbruch.desktop Exec=kbruch %U ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution. Snapcraft failed to mangle desktop file Exec lines to the $snap.$app format, leaving them unmodified. No fix or follow-up was provided.
qwen/qwen3.6-35b-a3b Abandoned. The report highlighted that Snapcraft fails to mangle desktop file Exec lines per documentation, leaving them unmodified instead of using the required $snap.$app format.
qwen3.6-35b-a3b-mtp-q6 Snapcraft failed to mangle desktop file Exec lines as documented. The report was closed without comments or resolution, indicating it was abandoned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1883145 Incorrect Exec entry transformation in .desktop file snapcraft (launchpad) open Snapcraft incorrectly transforms Exec=snap run <snap> in .desktop files to Exec=<snap> run <snap>, producing a broken command. 6+ years old, no labels, no comments, no maintainer interaction.
81%
#1658123 Exec key from desktop files gets trimmed when installed by snapd snapcraft (launchpad) closed Snapd incorrectly trims invalid Exec keys from desktop files during installation. The report was closed without resolution and appears abandoned.
76%
#1655832 App name in snapcraft.yaml must match case of .desktop file snapcraft (launchpad) open Snapcraft breaks the .desktop file Exec line when the app name case in snapcraft.yaml mismatches the .desktop filename. Reported 2016, untriaged, no maintainer response, inactive 9 years.
72%