Feature request: allow snaps to register new mime types
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
(originally posted at https:/
snapd, when installing a snap, has some logic to parse desktop files and generate a mimeinfo.cache file that associates mime types to desktop files.
This allows e.g. a snapped app to advertise that it handles the application/
However there doesn’t seem to be a way for the snap to register application/
This would require invoking update-
I think it would be interesting to add this functionality to snapd.
¹ https:/
² https:/
I agree, I suppose that would be enough adding the ability to define packages in the form x-snap-foo.xml, indeed there could be clashing issues though.
So there should be for the user a way to avoid this if something is breaking its setup.