[Lazarus] Icon program cannot be set as favorite in Ubuntu 18.04

Bo Berglund bo.berglund at gmail.com
Sun May 24 10:59:41 CEST 2020

On Wed, 20 May 2020 01:03:10 -0300, MaurĂ­cio Camargo via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

>I note that in Ubuntu the icon program in the launcher does not have "Add
>to favorites".
>How can I fix my program in the bar?

Create a "desktop" text file:

(change the version number to suit)

In this file put this (the example is what I have on an RPi4 with
Raspbian Buster):

[Desktop Entry]
Comment=Lazarus IDE 2.0.8
Name=Lazarus 2.0.8
--pcp=/home/pi/.lazarus_2.0.8 %f

All lines start with keyword= and if the view above does not show that
then the line has been wrapped down.

Notice that the paths in my example refers to my installation inside
the pi home, on yours you have to adapt it to your situation.

Also notice the use of the --pcp argument, it is needed if you run
more than one version of Lazarus on your system (I have 4).

Bo Berglund
Developer in Sweden

More information about the lazarus mailing list