<div dir="ltr">Hi,<div>while thinking about what I could experiment with snapping next I checked what I still use some external repositories for - as I considered those a great list of opportunities.</div><div><br></div><div>One that I found there was my printer driver which consists of these packages [1] provided by [2].</div><div>But thinking about how that would fit into the snap world gave me a hard time, so I thought I better write it up for discussion. I mean I can only win, either by learning or by identifying something that we can convert into a valid feature request.</div><div><br></div><div>The reason I thought this might be non-standard in regard to snaps is, that most of the functionality provided by these packages is achieved by placing files for other programs to pick it up. Some examples might be:</div><div>- cups ppd files - /usr/share/cups/model/suld/ML-1740.ppd.gz<br></div><div>- special cups filters - /usr/lib/cups/filter/pstosplc</div><div>- or even libs for sane - /usr/lib/sane/libsane-smfp.so</div><div><br></div><div>Now that doesn't fit in the (otherwise really great) sandboxing into ~/snap or /snap.</div><div>Because in this case others programs should be able to pick up these files in common paths.</div><div><br></div><div>It doesn't really qualify for an interface [3] as I thought to understand them so far.</div><div><br></div><div>It might be somewhat close to the "home" plug in some ways - so maybe there lies the rescue.</div><div>Yet the home plug it is more about the snap being able to reach out and not "others" being able to pick up the files of the snap.</div><div><br></div><div>So what would be the preferred way to solve such issues in general when creating a snap?</div><div><br></div><div>Thinking about it a bit further, even man-pages could be considered to fall in a very similar category right?</div><div><br></div><div>Looking forward to learn, kind regards,</div><div>Christian</div><div><br></div><div>[1]: <a href="http://www.bchemnet.com/suldr/repository.html">http://www.bchemnet.com/suldr/repository.html</a></div><div>[2]: <a href="http://www.bchemnet.com/suldr/index.html">http://www.bchemnet.com/suldr/index.html</a></div><div>[3]: <a href="http://snapcraft.io/docs/reference/interfaces">http://snapcraft.io/docs/reference/interfaces</a></div><div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">Christian Ehrhardt</span><div style="color:rgb(136,136,136);font-size:12.8px">Software Engineer, Ubuntu Server</div><div style="color:rgb(136,136,136);font-size:12.8px">Canonical Ltd</div></div></div></div></div>
</div></div>