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

Bo Berglund bo.berglund at gmail.com
Mon May 25 22:17:36 CEST 2020


On Mon, 25 May 2020 19:06:32 +0200 (CEST), Michael Van Canneyt via
lazarus <lazarus at lists.lazarus-ide.org> 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 21:06 .bash_history
-rw-r--r-- 1 bosse bosse   220 apr 10 15:22 .bash_logout
-rw-r--r-- 1 bosse bosse  4039 apr 26 08:56 .bashrc

But I have been mixing up the desktop files.... :(

It turns out there are *three* sets of desktop files in use, they are
located in:

~/.local/share/applications (user specific use by the Mate menu)

~/Desktop (shortcuts shown on the user desktop)

/usr/share/applications (global use by the Mate menu)

I had been manipulating the ~/Desktop files and then tested from the
menu and found no change in behavior...

But in fact if I edit and use the *same* desktop file it shows that
your suggestion is working!

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=/bin/bash -l -c '/home/bosse/dev/lazarus/2.0.8/startlazarus
--pcp=/home/bosse/.lazarus_2.0.8'
Type=Application
Icon=/home/bosse/dev/lazarus/2.0.8/images/ide_icon48x48.png
Categories=Application;IDE;Development;GTK;GUIDesigner;Programming;
NoDisplay=false
Keywords=editor;Pascal;IDE;FreePascal;fpc;Design;Designer;

Thanks a million for your help!!!!


-- 
Bo Berglund
Developer in Sweden



More information about the lazarus mailing list