Re: flatpak app launch script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2017-02-01 at 14:26 +0100, Martin Kolman wrote:
> On Wed, 2017-02-01 at 07:16 -0600, Michael Catanzaro wrote:
> > On Wed, 2017-02-01 at 13:46 +0100, Martin Kolman wrote:
> > > Can you pass command line arguments like this ? For example
> > > inkscape
> > > can be used not only as a GUI app, but also from the command line
> > > to
> > > convert SVG files to PNG and other things. So it would be good if
> > > flatpack can also support that.
> > 
> > Yes. Arguments to flatpak go before the name of the app to launch,
> > arguments to the app go after.
> 
> Nice! It's good to know it already works. :)
> 
> BTW, what about sandboxing & file access ?
> 
> Let's say I try to run (a hypothetical) example:
> 
> flatpak run com.example.inkscape --svg-to-png /home/user/foo.svg
> 
> As the file is outside of the sandbox what will happen ? Will it fail
> to access the file or will the user be asked to confirm access to it
> ? 
> 
> I guess one could also just enable $HOME access for the app in a case
> like this, but still.

I've filed https://github.com/flatpak/flatpak/issues/543 for a related
issue in desktop file Exec lines.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux