Autoconnect request for system-files in snapd-desktop-integration

In order to properly support the new snapd refresh awareness feature, the snapd-desktop-integration snap needs to be able to access snap metadata defined in the desktop files to properly display the icon, title, etc. The desktop-launch interface most closely fits that need.

We’d like to autoconnect the desktop-launch interface in snapd-desktop-integration to provide the UX required.

Thanks

1 Like

desktop-launch allows snap to launch other snaps etc - would it be better to just use system-files to access this information? In a similar request recently this was used instead - Manual review for software-inventory-exporter + auto-connect request for system-files and snapd-control - would that be an option?

That’s good, let’s change this request to system-files then. We’ve replaced desktop-launch with this:

 plugs:
   read-snap:
     interface: system-files
     read:
       - /snap

Thanks @kenvandine but can the name be changed to just snap to keep with convention?

+1 from me for the use of system-files named snap for read access to /snap.

1 Like

It’s been renamed as requested, thanks.

+1 from me for the use of the system-files plug named snap

+2 for, 0 against. Granting the use of the same. This is now live

thanks