Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2021-11

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

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bo Berglund

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

Reply by email

Mehmet Erol Sanliturk
to Bo Berglund

Please search the following phrase in Google :

adding an entry into cinnamon main menu

For example :

https://askubuntu.com/questions/232053/how-to-add-a-shortcut-to-a-command-to-the-cinnamon-menu How to add a shortcut to a command to the Cinnamon menu?

and some of the other search results .

With my best regards ,

Mehmet Erol Sanliturk

On Tue, Nov 23, 2021 at 12:36 AM Bo Berglund via lazarus <

Show quoted text 43 lines
wrote: 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 -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20211123/23dc8727/attachment.html>

Reply by email

Bo Berglund
to Mehmet Erol Sanliturk
Mehmet Erol Sanliturk wrote
Please search the following phrase in Google : adding an entry into cinnamon main menu

OK, I have installed Lazarus on many systems before and all of these (both Raspberry Pi and PC Linux had the user desktop files located where I put this one, i.e. inside $HOME.

Apparently not so with Ubuntu Cinnamon....

Copied it over to /usr/share/applications/ and then it worked as expected.

Bo Berglund Developer in Sweden

Reply by email