[Lazarus] Just installed fpc/lazarus from sources on Ubuntu 20, cannot find desktop file

Bo Berglund bo.berglund at gmail.com
Mon Nov 22 22:36:22 CET 2021


I have successfully built Lazarus 2.0.12 with fpc 3.2.2 on an Ubuntu 20.04.3
machine running the Cinnamon desktop.

I have noted this problem:

The desktop file is not recognized by Ubuntu so it shows in the main menu.
I have created it here:
$HOME/.local/share/applications/lazarus_2.0.12.desktop

If I copy the desktop file to $HOME/Desktop then it appears on the screen and I
can start it.
But I want it on the menu....

The content is this (newsreader wraps long lines so Exec= is wrapped):

[Desktop Entry]
Comment=Lazarus IDE 2.0.12
Terminal=false
Name=Lazarus 2.0.12
Exec=/home/bosse/devel/lazarus/2.0.12/startlazarus
--pcp=/home/bosse/.lazarus_2.0.12 %f
Type=Application
Icon=/home/bosse/devel/lazarus/2.0.12/images/ide_icon48x48.png
Categories=Application;IDE;Development;GTK;GUIDesigner;Programming;
NoDisplay=false
Keywords=editor;Pascal;IDE;FreePascal;fpc;Design;Designer;

Does Ubuntu with Cinnamon place the files in another location?

-- 
Bo Berglund
Developer in Sweden



More information about the lazarus mailing list