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

2021-11-22 Thread Bo Berglund via lazarus
On Tue, 23 Nov 2021 00:45:05 +0300, Mehmet Erol Sanliturk via lazarus
 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

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


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

2021-11-22 Thread Mehmet Erol Sanliturk via lazarus
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 <
lazarus@lists.lazarus-ide.org> 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
> lazarus@lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


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

2021-11-22 Thread Bo Berglund via lazarus
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
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus