<div dir="ltr">On Fri, Nov 16, 2018 at 4:30 AM Michael Thayer <<a href="mailto:michael.thayer@oracle.com">michael.thayer@oracle.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">16.11.18 09:50, Michael Thayer wrote:<br>
> A way to run a script with root privileges and a prominent warning to<br>
> the user at installation time would of course be helpful for my and<br>
> Robert's use case.  I can of course see that the Flatpak developers<br>
> might consider it a dangerous temptation for application developers;<br>
> then again I think that you check what gets onto Flathub and could<br>
> forbid most uses there.  I could do this anyway, the main problem would<br>
> be that I would have to tell the user to run the script manually and<br>
> work out the location in the file system, which is not very user-friendly.<br>
<br>
Just following up my own post, and coming back to a slightly refined<br>
version of my original idea unless someone suggests something better.<br>
For VirtualBox I could achieve most of what I want by providing a small<br>
additional starter tool to be installed separately from the Flatpak and<br>
referencing it from the desktop file in the Flatpak (instead of using<br>
/usr/bin/flatpak as a starter).  I should be able to achieve that in a<br>
user-friendly way, though of course I would depend on Flatpak being<br>
installed with the standard paths.  Since Endless presumably control<br>
their OS, perhaps they could do something on those lines too?<br><br></blockquote><div><br></div><div>Hey Michael,</div><div><br></div><div>I was curious if you got furher with this approach, or found some other solutions?</div><div>Anything we can do from the flatpak side to help you?</div><div><br></div><div>Matthias<br></div></div></div>