Re: Using xdg-open from snap

2016-09-21 Thread Sergio Schvezov
El 21/09/16 a las 08:18, Gustavo Niemeyer escribió: That was a good explanation indeed, thanks John. Can we do something better than just recommend it on classic? The feature is common enough that this should be a requirement, I think. Even though Recommends doesn't sound like a fit, this

Re: Using xdg-open from snap

2016-09-21 Thread Gustavo Niemeyer
That was a good explanation indeed, thanks John. Can we do something better than just recommend it on classic? The feature is common enough that this should be a requirement, I think. The problem then is how to drop the package when building the Ubuntu Core image. On Wed, Sep 21, 2016 at 5:39

Re: Using xdg-open from snap

2016-09-21 Thread John Lenton
Eloy, Spencer, Otfried, The xdg-open we ship in /usr/local in the snap-core snap failing like that is a bug; it seems we weren't covering this use case in our tests. jdstrand has now addressed this, and although with his fix right now you'll need to ask for the unity7 interface it is expected to

Re: Using xdg-open from snap

2016-09-21 Thread PC Actual
Hi all. I have the same problem in my snap java-based application. I use xdg-open command to launch the default browser so, it would be great a solution :) Best, Eloy 2016-09-20 15:46 GMT+02:00 Spencer Parkin : > This is related to a question I had as well. I have a

Re: Using xdg-open from snap

2016-09-20 Thread Spencer Parkin
This is related to a question I had as well. I have a program that uses wxLaunchDefaultBrowser which, looking at its implementation, tries to make the system call "exec()" to launch the default browser with a URL. If snap programs are not allowed to start other processes, that's fine; but if