Lazarus

Programming => General => Topic started by: berghem on February 27, 2021, 07:18:08 pm

Title: Icon Application
Post by: berghem on February 27, 2021, 07:18:08 pm
Hi all
in my appliacation I want my personal icon, I seted  the Icon in Project --> Project Option, but in exe file I have the default icon...

Title: Re: Icon Application
Post by: jamie on February 27, 2021, 07:27:10 pm
clean and build ?
Title: Re: Icon Application
Post by: lucamar on February 27, 2021, 07:44:34 pm
Usually, in Linux desktops, the icon won't be taken from the exe file itself since there is no "standard" way to do it.

To associate an icon with an application you have to either create (and install) a .desktop file or use some other mechanism like, for example, doing Alt+Enter in the file manager to show the exec file properties and changing the icon there.

Note also that in both cases (and most others I know of) the icon has to be a separate file and in a recognizable image format (png, svg, ppm, pnm, etc.)
Title: Re: Icon Application
Post by: berghem on February 27, 2021, 08:46:15 pm
Thanks Lucamar I unferstood. My application is for raspbery PI  and it's a free software. I have to study a little script for this problem when the people download the file.
Title: Re: Icon Application
Post by: Fred vS on February 27, 2021, 08:53:45 pm
Thanks Lucamar I unferstood. My application is for raspbery PI  and it's a free software. I have to study a little script for this problem when the people download the file.

Hello.

You may take a look at InstallJammer:
https://sourceforge.net/projects/installjammer/

It is a old project but it does still perfectly his job.
It works very well for Linux applications and will create and install all what you want, including icons.

Fre;D
TinyPortal © 2005-2018