Why isn't the Halloy icon working in the tray but works in the menu?

Hello,

I had to compile halloy.chat from source code

After copying the binary to /usr/local/bin, naturally, Gnome had no idea it existed. So I asked AI for help and it instructed me I had to download an icon manually for it (which I did, from the github repo, and it works great) and create a file called ~/.local/share/applications/halloy.desktop

In this file, I put these contents:

orangepi5:applications:% cat halloy.desktop
[Desktop Entry]
Name=Halloy
Comment=A modern IRC client
Exec=/usr/local/bin/halloy %u
Icon=/home/snow/.local/share/icons/org.squidowl.halloy.png
Terminal=false
Type=Application
Categories=Network;Chat;
StartupNotify=true
MimeType=x-scheme-handler/halloy;

And logged out and re-logged in

Now, Halloy appears in my menu’s as desired, with the correct icon:

However, it’s showing an ugly generic “gears” icon in the main tray:

What’s the deal here? This is way more difficult than I expected, one of the worst things about Linux so far

The window can not be matched to the .desktop file you created because the application ID set by the window (org.squidowl.halloy) does not match the file name of the .desktop file (halloy.desktop). You would need to rename your .desktop file to org.squidowl.halloy.desktop.

1 Like

AHHH!

THAT DID IT

I just did a simple ‘mv halloy.desktop org.squidowl.halloy.desktop’ and logged out and back in

Mission accomplished

Thank you very much @skeller !!

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.