On Sun, 24 May 2020, Bo Berglund via lazarus wrote:
Comment=Lazarus IDE 2.0.8 Terminal=false Name=Lazarus 2.0.8 Exec=/home/bosse/dev/lazarus/2.0.8/startlazarus
Set this to /bin/bash -l home/bosse/dev/lazarus/2.0.8/startlazarus --pcp=/home/bosse/.lazarus_2.0.8 %f and .profile will be read. I have a similar issue, and that is how I solved it.
So I wonder if maybe Lazarus has a similar setting?
No, you must set the options on the desktop/menu entry that starts lazarus.
Or maybe VNC server does?
You must run lazarus not by directly running the startlazarus, but by invoking the shell with -l option. You can create a script for it. Michael. -- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus