Icon missing on panel

Hello,

I installed Kubuntu 24.04 today and then I installed a program from a .deb file using ‘sudo dpkg -i…’

When I run the program, the icon momentarily appears but is than replace with a grey square with what looks like a red letter ‘a’ with a black ‘x’ on top of it. I pinned the app to the panel and it runs when I click on it. However, I would like it to display the correct icon. Any advice appreciated.

Best

Matt

So you ran a (random) deb file and are asking why it doesn’t work…

It seems you don’t know what a ‘deb’ package actually is - it could be anything.

Details are important - nobody can know why a random program ended up with no icon…

You should check for .desktop files which should have an icon defined:

[Desktop Entry]
Name=Tusk
Comment=
Exec=*command to run*
Icon=/path/to/tusk/highres-icon.png
Terminal=false
Type=Application
StartupNotify=true

Launchers should be installed to /usr/share/applications or ~/.local/share/applications folders.

NB: answer confirmed from 2 second web search.

I realise that details are important. I have checked the .desktop file and it looks ok (see attached screenshot):


It wasn’t a random .deb file. It was a .deb file from the provider of my music production software. It is pinned to the panel. When I click on it, the icon does momentarily show but then gives way to the grey box with an ‘X’ in it as you can see from screenshot (second icon from the left). The application itself runs ok. If I try to pin it by right clicking the application from the startup menu and choosing the ‘pin to panel’ option, then the icon does show but when I click on it, the grey box already mentioned appears next to it.