On Wed, 20 May 2020 01:03:10 -0300, Maurício Camargo via lazarus <lazarus@lists.lazarus-ide.org> wrote:
>Hi. >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? >Thanks. >Maurício Create a "desktop" text file: ~/.local/share/applications/lazarus_2.0.8.desktop (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 Terminal=false Name=Lazarus 2.0.8 Exec=/home/pi/dev/lazarus/2.0.8/startlazarus --pcp=/home/pi/.lazarus_2.0.8 %f Type=Application Icon=/home/pi/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; 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 -- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus