Forum > Linux

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

(1/2) > >>

FCK:
In Lazarus 3.6 x86-64 run on Ubuntu 22.04LTS (debian), the application icon as defined in project options, is displayed correctly in the Ubuntu Dash bar. In Lazarus 4.0 Ubuntu 24.04LTS, (basically same code and hardware), it is always displayed as a grey gear. My feeling it is a is likely a Lazarus bug. All other application's icons are displayed correctly. Is there a workaround to correct this behaviour?

CM630:
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.

Fred vS:
Hello.

If you're using Mint-Cinnamon, which uses its own window manager (WM), derived from Muffin WM, you may encounter problems.
The Cinnamon developers decided, "by design", not to follow the rules of a default WM.

Ally:
A Windows icon consists of several individual images in different sizes, which can also be compressed.
Depending on the intended use, Windows extracts the appropriate size and displays it.
The order of the individual images within the .ico file is irrelevant for Windows.

Linux only displays the first uncompressed image.
The order of the individual images within an icon that is also to be used under Linux must therefore be sorted in descending order (the largest icon first).

Icons with the following resolutions have proven themselves: 256x256 - 64x64 - 48x48 - 40x40 - 32x32 - 24x24 - 20x20 - 16x16

For the 256x256 size, the “Compressed (PNG)” option should be activated in order to optimize the file size.

CM630:
In my case it is Mint Mate (GTK), not Cinnamon.
The Icon is 256x256, it has no other layers (Gimp shows only one layer, so does https://redketchup.io/icon-editor)
When I try to open the icon with XViewer it says "Compressed icons are not supported"
When I try to open it with Pix (no idea what it is, it is in the popup menu of the file manager)... the screen turns black, no idea if the VM restarts or something happens with the window manager.

Navigation

[0] Message Index

[#] Next page

Go to full version