New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GIMP AppImage and the temporary mount directory #80
Comments
The mount point is always read-only. The AppImage cannot write anything at the mount point. Which means that if GIMP can be made to whatever gets mounted at the mount point in relative rather than absolute paths, everything should be fine. For example, instead of hardcoding It seems like work has begun in this direction: In theory, one could patch runtime.c to use fixed mount points, but I would like to avoid that; mainly to enforce clean relocateability. |
Could |
As far as I understand, GIMP always puts absolute paths in the pluginrc file, which explains why the file is re-built each time the appimage is executed. ${gimp_dir} tells GIMP where to look for plug-ins, however the actual path is used when storing the plug-in path in pluginrc. Anyhow, I will bring the issue in the gimp-developer mailing list. If there is no solution, I think we can survive with a longer initialisation time... |
Discussing this right now on #gimp on irc.gimp.org |
Interesting discussion... and thanks for taking care of contacting the GIMP developers! Unfortunately I have no time to discuss on irc. I hope that the GIMP developers will find a proper solution. Meanwhile, we cannot really say that the AppImage is not working, and I still believe that the longer initialisation time is a small price to pay for the advantage of having one package that runs everywhere (and this opinion is shared with few users I've been talking to on pixls.us). I have updated the Recipe gist with my latest version, if you want to have look: https://gist.github.com/aferrero2707/2da99aae425eca8c8afb61b3fb5532f9 |
@aferrero2707 GIMP has been updated to not do this anymore:
Also GNOME/gimp@6b39115
Please do a new build and see whether it resolves the issue. |
Wow!!! I'll update and test the appimage tomorrow, and report back here my findings... thanks for your support! |
It works!, provided that I add the following lines in the wrapper script that launches the GIMP executable:
Now the paths in the pluginrc file are correctly starting with ${gimp_plug_in_dir}. |
Awesome! 👍 |
I have a little issue with running my experimental GIMP AppImage (see the current Recipe here).
The AppImage gets mounted in a temporary directory of the form "/tmp/.mount_*". This means that the GIMP plug-ins are located in a different folder at each execution of the appimage. This in turn triggers the update of the GIMP plug-in registry at each execution, which significantly increases the GIMP initialisation time.
Would there be a way to tell the AppImage to mount to a fixed directory instead of an uniquely-generated one? Something like "/tmp/.mount_gimp_appimage"? Or is there a severe problem with this?
The text was updated successfully, but these errors were encountered: