<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 21, 2019 at 6:03 PM Winnie Poon <<a href="mailto:winniepoon_home@hotmail.com">winniepoon_home@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi Jorge,</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
i'm using the libportal together with the portal test example.  I'm trying to understand how to open a file in my home folder inside the sandbox without using --filesystem=/home/user.  I tried the File Chooser on the UI and clicked Save As but that doens't
 seem to copy the original file content, but just write "test" to a file.   I couldn't find an example how open up a file to be accessible inside the sandbox.  Am i looking at the wrong place?</div></div></blockquote><div><br></div><div>You want to open an existing file for reading, or write something to a new file?</div><div><br></div><div>Using the portal for this purpose should be essentially identical to using a "traditional" file chooser from your toolkit.</div></div></div>