2

I have been editing documents downloaded from Dropbox in LibreOffice on my M10 tablet, but I can't find the documents in the user space on /phablet/Documents/ etc. Same thing with files downloaded through Firefox, can't locate them on the hard drive in the File Manager or any other Ubuntu Touch apps.

Is there a way to save these files in the folders accessible under /Phablet/?

muru
  • 207,228
tomoqv
  • 879

3 Answers3

1

I just saved a test document in LibreOffice to take a look at this. I tried to save it in phablet but via FileManager I found it in /home/phablet/.local/share/libertine-container/user-data/puritine

I guess I can see the logic of that for security but it isn't great for users in cases like this.

I can't see an easy way to break out of the libertine jail and save wherever you want- which I guess is a feature more than a bug.

The best thing might be to try mount --bind. It's a way to mount one folder as another. I am not so familiar with it, but it is described as a solution to a similiar problem here.

One thing to be careful of, the accepted answer to this question says that if you do mount chroot directories ". You will need to take extra care when doing so, if you wish to delete the chroot from your phone, or perform other destructive actions".

Hope that helps.

Jack
  • 532
1

Instead of mounting /home/phablet/.local/share/libertine-container/user-data/puritine somewhere in home you can also create a softlink to that directory in /home/phablet/Documents

cd ~/Documents;ln -s /home/phablet/.local/share/libertine-container/user-data/puritine Puritinedocs should do the trick.

Edit: Just checked, this works and file permissions are fine. As a bonus the softlinks will survive reboots.

Jurjen
  • 196
0

You XDG documents folders are automatically bind-mounted into the Libertine container. In other words, if you save a LibreOffice document in your Documents folder, it's saved to /home/phablet/Documents.

The XDG documents folders include Documents, Music, Pictures, and Videos.