What are the valid filenames in /snap/gui?


#1

Which of these are valid, and is there any missing ones?

  • /snap/gui/icon.{png,svg}
  • /snap/gui/_snap_name_.{png,svg,desktop}
  • /snap/gui/_app_name_.{png,svg,desktop}
  • /snap/gui/_snap_name_._app_name_.{png,svg,desktop}

and is there any documentation about it? So far I only found Getting ready for stable and Commands, daemons & assets


#2

It appears that:

  • Everything in /snap/gui is copied to prime/meta/gui verbatim
  • /snap/gui/_app_name_.desktop is recognized by snapcraft