Moving from strict to classic confinement
Eloy García (PC Actual)
eloy.garcia.pca at gmail.com
Mon Mar 27 07:59:59 UTC 2017
Thanks for the tip, but this is not a problem anymore. Yep, I used "the
bridge" provided by Ubuntu Core for xdg-open and it works if the user
installs snapd-xdg-open :)
2017-03-27 9:32 GMT+02:00 Alistair Grant <akgrant0710 at gmail.com>:
> Hi Eloy,
> Your readme mentions problems with xdg-open. Take a look at:
> which may help. Note that the host has to have snapd-xdg-open installed.
> On 27 March 2017 at 09:22, Eloy García (PC Actual)
> <eloy.garcia.pca at gmail.com> wrote:
> > Hello everybody.
> > I currently have a snap package published on the store. It is called
> > wallpaperdownloader and it is a Java-based application. So far, it has
> > packaged using the strict confinement. The application basically
> > wallpapers from the Internet and sets the wallpaper when the user
> > it. Because there are a lot of desktop environments, I have ended up
> > a lot of Linux commands from the java application in order to achieve
> > goals. For some DE there is no problem at all: for example, using
> > interface, GNOME Shell and Unity change the background flawlessly. MATE
> > working properly too (I had to include mate-desktop-common as stage
> > package) but XFCE and KDE... no way. In addition, some of the most simple
> > features (open a file explorer for example) don't work.
> > I have been testing the classic confinement and all these features work!
> > addition, I don't need to include some dependencies like desktop-gtk3 or
> > use a shell script wrapper to launch the application. Then, I'm
> > to move my snap package from stric to classic confinement but i don't
> > the possible implications:
> > 1.- Are the interfaces still needed when using classic confinement?
> > 2.- From the user point of view: if wallpaperdownloader is already
> > installed and I change the confinement, when snapd upgrades it, will it
> > work flawlessly? I mean, the upgrade process will be automatic or it will
> > require manual intervention from the user?
> > 3.- As I see classic confinement, it is a feature to make snap packages
> > more easily but they only will work on a "classic" Ubuntu system. If
> > is finally migrated to a Snappy system, I guess classic confinement won't
> > work and all these packages should be migrated to strict confinement
> > am I right?
> > Thank you all for your time :)
> > Best,
> > Eloy
> > --
> > Eloy García Almadén
> > --
> > Snapcraft mailing list
> > Snapcraft at lists.snapcraft.io
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
Eloy García Almadén
More information about the Snapcraft