Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-25 Thread Michael Van Canneyt via lazarus
On Mon, 25 May 2020, Bo Berglund via lazarus wrote: So if I have this desktop file in ~/.local/share/applications it will work from the menu too: [Desktop Entry] Comment=Lazarus IDE 2.0.8 Terminal=false Name=Lazarus 2.0.8 #Entry below in order to secure setting up PATH correctly on start Exec

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-25 Thread Bo Berglund via lazarus
On Mon, 25 May 2020 19:06:32 +0200 (CEST), Michael Van Canneyt via lazarus wrote: >> It is in ~/.profile > >Take care: if either of > ~/.bash_profile, ~/.bash_login, >exist, then .profile is not read. > Well that is not the case either... ~$ ls -la .bas* -rw--- 1 bosse bosse 20005 maj 25

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-25 Thread Michael Van Canneyt via lazarus
On Mon, 25 May 2020, Bo Berglund via lazarus wrote: On Mon, 25 May 2020 12:32:59 +0200 (CEST), Michael Van Canneyt via lazarus wrote: Then Lazarus starts OK but again throws the error due to /home/bosse/bin missing from PATH. Where is it added to the PATH ? Normally, if you do this in .ba

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-25 Thread Bo Berglund via lazarus
On Mon, 25 May 2020 12:32:59 +0200 (CEST), Michael Van Canneyt via lazarus wrote: >> Then Lazarus starts OK but again throws the error due to >> /home/bosse/bin missing from PATH. > >Where is it added to the PATH ? Normally, if you do this in .bashrc or >.profile, the -l option forces bash to pic

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-25 Thread Michael Van Canneyt via lazarus
On Mon, 25 May 2020, Bo Berglund via lazarus wrote: /home/bosse/dev/lazarus/2.0.8/startlazarus --pcp=/home/bosse/.lazarus_2.0.8 %f You must omit the %f on the command line. What happens if you do /bin/bash -l -c '/home/bosse/dev/lazarus/2.0.8/startlazarus --pcp=/home/bosse/.lazarus_2.0.8'

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-25 Thread Bo Berglund via lazarus
On Mon, 25 May 2020 09:13:42 +0200 (CEST), Michael Van Canneyt via lazarus wrote: > > >On Mon, 25 May 2020, Bo Berglund via lazarus wrote: > >> On Mon, 25 May 2020 07:36:55 +0200 (CEST), Michael Van Canneyt via >> lazarus wrote: >> >>> >>> >>> On Sun, 24 May 2020, Bo Berglund via lazarus wrote:

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-25 Thread Michael Van Canneyt via lazarus
On Mon, 25 May 2020, Bo Berglund via lazarus wrote: On Mon, 25 May 2020 07:36:55 +0200 (CEST), Michael Van Canneyt via lazarus wrote: 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/startl

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-24 Thread Bo Berglund via lazarus
On Mon, 25 May 2020 07:36:55 +0200 (CEST), Michael Van Canneyt via lazarus wrote: > > >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/bo

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-24 Thread Michael Van Canneyt via lazarus
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.

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-24 Thread Bo Berglund via lazarus
On Sun, 24 May 2020 22:30:04 +0200, Mattias Gaertner via lazarus wrote: >On Sun, 24 May 2020 22:21:31 +0200 >Bo Berglund via lazarus wrote: > >>[...] >> But fpres is built during installation of fpc/lazarus and the binary >> is placed in ~/bin, which usually is available on path. > >> And the /h

Re: [Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-24 Thread Mattias Gaertner via lazarus
On Sun, 24 May 2020 22:21:31 +0200 Bo Berglund via lazarus wrote: >[...] > But fpres is built during installation of fpc/lazarus and the binary > is placed in ~/bin, which usually is available on path. > And the /home/bosse/.profile file contains this: Not every shell uses /home/bosse/.profile.

[Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

2020-05-24 Thread Bo Berglund via lazarus
I have been using fpc/Lazarus on Windows and Raspbian Buster for years and it has worked just fine. Now I have installed fpc 3.0.4 / lazarus 2.0.8 in Ubuntu 18.04.4 LTS on a repurposed HP notebook (8440w). It seemed to work OK until I retrieved code via SVN that has worked on Windows and Raspbian