OpenScad library path
Put it in the .profile file and not in .bash_profile or .bashrc.
OpenScad works well if you can do something like this:
The use clause refers to a file, which in my case is in the OpenScadsnippets folder. He finds it because the OPENSCADPATH environment variable is set correctly:
But where should you put that export line? In your home folder you have .bash_profile, .bashrc and also .profile. Answer: .profile is the right one! If you put it in there, OpenScad always works, regardless of how you start it (from the start menu or directly from an Appimage).