Linux users not being able to use post-processing scripts with transition to Flatpak
Hello! I am sure I am in an extremely small minority, but I am a Linux user who also uses post-processing scripts. With the Flatpak version of PrusaSlicer I am unable to run them since PS is not able to see the entire filesystem or execute arbitrary code. The Appimage version works perfectly. I understand there are packaging issues with Webkit that are probably going to lead to the Appimage being deprecated. Will there be instructions on how to properly configure the Flatpak version to run post-processing scripts?
RE: Linux users not being able to use post-processing scripts with transition to Flatpak
Looks like you should be able to run any post-processing script that is in your home directory. If you want to change the permissions on the flatpak to run the script in other locations.
- Install Flatseal (com.github.tchx84.Flatseal) and run that.
- Select PrusaSlicer on the left and then go down to the Filesystem section.
- Under Other Files, add a new directory, but in path you need.
- re-start the PrusaSlicer flatpak.
Or via command line
flatpak override -u com.prusa3d.PrusaSlicer --filesystem=/your/path/goes/here
You can remove the -u (user) option and run via sudo to change the system-wide installation instead of the per-user one.
To undo that
flatpak override -u com.prusa3d.PrusaSlicer --nofilesystem=/your/path/goes/here
and to show permissions
flatpak info --show-permissions com.prusa3d.PrusaSlicer