Forum > Linux

The App Icon is Wrongly Shown As Grey Gear in Ubuntu Dash

<< < (2/2)

Fred vS:

--- Quote from: CM630 on June 10, 2025, 01:21:34 pm ---I have the same issue - in Linux Mint Mate the icon, which is mostly blue, is open in Project — Options — Application — Icon as grayscale.
Respectively, the icon of the built executable in the taskbar is also grayscale.

--- End quote ---

Hum, there is something that I dont catch.
In Linux you cannot assign a icon for the executable like Windows does via included res.
You may assign a icon for each form but not for the executable.

Fred vS:
Re-hello.

Indeed, with Lazarus 4.0, there's a problem loading your icon.ico file (see image laz4_ico2.png).

So I opened your icon.ico with Gimp and exported it to icon.png.
And with that, the icon is correct. (see image laz4_png2.png).

But I'm still puzzled as to what happens to this icon under Linux… :-\

Guva:
It's an old problem. Just open it in gimp and export it as .ico in the export settings window uncheck the compression option

BildatBoffin:
This was reported last month : https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/41636

mm7:
I manually made the icon from multiple sized PNG files. using image magic.

convert pic16.png pic24.png pic32.png pic48.png pic64.png pic96.png pic128.png myAppIcon.ico

then reloaded this myAppIcon.ico in Project Options.

It works in Ubuntu 22.04 with XFCE.

Navigation

[0] Message Index

[*] Previous page

Go to full version