I’m using version 2.1.4 installed using Flatpak.
The program doesn’t seem to be able access any file outside the “Documents” folder of the user’s home.
Here’s what I’ve tried:
- open a .tm file with texmacs from the file explorer, I get an error (“warning load error for /run/user/some/generated/path/file.tm, Success”), the error appears to be a form of “success”.
- launch texmacs, click on “open” in the menu: the file dialog box only shows the “Documents” folder within my home directory
- in the above dialog box, I enter the full path of a .tm file outside the “~/Documents” folder (but within a folder inside my home directory), I get an empty document
- I copied that .tm file I’m trying to open to the “~/Documents” folder. This file, I can open it using the menu etc, and it shows its expected content.
The file I’m trying to open is a valid .tm file (confirmed by the fact that it opens correctly when copied within the “Documents” folder), the folder it is in is within my home directory and I have full ownership and permissions on the file and all the directories above it (really it’s just a normal file in a normal directory that I created using normal means etc).
It seems that this is broken by the sandboxing system or something like that (the path in the error message on 1. isn’t the original path) - I don’t know much about how Flatpak works.
What is going on? Is there any way I could open the file wherever I want?
Note: I have other apps installed via Flatpak none of which have this issue.