Closed pled closed 1 month ago
On 6 August 2024 10:24:11 BST, pled @.***> wrote:
Hi,
After installing Anymeal 1.18-2 from debian 12 repository, there is no icon displayed in the dash when anymeal is running, while icon is displayed in the Gnome search :
Gnome-shell is v43.9, no extension activated.
To get the icon, I need to create a application file like
~/.local/share/applications/anymeal.desktop
:[Desktop Entry] Name=Anymeal Comment=Anymeal Recipe Manager Exec=/usr/bin/anymeal Icon=/usr/share/icons/hicolor/256x256/apps/anymeal.png Terminal=False Type=Application Categories=Misc;
(there might other ways to achieve that, I don't know)
Result :
But doing this, I know have two icons in Gnome search :
Note for that example, I created a new icon for the fun :
Because apart of the issue, and this is just a suggestion, and something that comes to my mind when launching Anymeal at first time, Anymeal icon is not very graphical in my opinion (just a casserole picture). May be your opinion is different, so you may ignore this.
Icon is taken from that page which list some free icons related to recipes software : https://www.freeiconspng.com/images/recipes-icon-png
It is easy to start from one of these ones (or any other free icon one can find ), and modify it to match Anymeal software.
-- Reply to this email directly or view it on GitHub: https://github.com/wedesoft/anymeal/issues/62 You are receiving this because you are subscribed to this thread.
Message ID: @.***> Did you try to restart GNOME after installation of Anymeal? Anymeal installs a desktop file and icon in the correct locations when configuring with prefix "/usr". Kind regards Jan
Yes, machine has been restarted. Anymeal is installed using sudo apt install anymeal
. I can see your files :
/usr/share/icons/hicolor/64x64/apps/anymeal.png
/usr/share/applications/de.wedesoft.anymeal.desktop
Doing some more tests, it seems to work when renaming the file from de.wedesoft.anymeal.desktop
to anymeal.desktop
, although icon is long to display in Dash (like 10secs).
But all this is beyond my knowledge...
I have this behavior with both Debian 12 (VM) and Debian 13 trixie (desktop).
Sorry, I can't reproduce it on Debian 12. I installed GNOME and then did sudo apt install anymeal
which install Anymeal 1.18. Running the software shows the icon in both the search and the dash.
Hum... very strange : I created a new fresh VM with Debian 12.6 ISO, then install anymeal : issue is there.
and same behaviour : renaming de.wedesoft.anymeal.desktop to anymeal.desktop make sicon appears in the dash, but after around 10 seconds...
Does it work if you instead move /usr/share/icons/hicolor/64x64/apps/anymeal.png to /usr/share/icons/hicolor/64x64/apps/de.wedesoft.anymeal.png and update the Icon entry in the desktop file accordingly?
I.e. keep the desktop file at /usr/share/applications/de.wedesoft.anymeal.desktop but change the PNG file name instead.
It does not work. I renamed icon file to de.wedesoft.anymeal.png, then tried changing icon definition in the /usr/share/applications/de.wedesoft.anymeal.desktop. Tried both :
Icon=de.wedesoft.anymeal
and
Icon=de.wedesoft.anymeal.png
Same result : icon is no more displayed at all.
Ok, when I install Debian in VirtualBox, I can see the same problem. Not sure how to solve it yet.
I added StartupWMClass=anymeal to the desktop file and now it seems to work. Will include that fix in the next release.
I also set StartupNotify=false in the desktop file to get rid of the annoying busy indicator.
Looks like the busy indicator is still there, don't know why.
Ah, had to restart GNOME for it to work.
Perfect, icon is there and on time with these settings. Thank you.
Hi,
After installing Anymeal 1.18-2 from debian 12 repository, there is no icon displayed in the dash when anymeal is running, while icon is displayed in the Gnome search :
Gnome-shell is v43.9, no extension activated.
To get the icon, I need to create a application file like
~/.local/share/applications/anymeal.desktop
:(there might other ways to achieve that, I don't know)
Result :
But doing this, I know have two icons in Gnome search :
Note for that example, I created a new icon for the fun :
Because apart of the issue, and this is just a suggestion, and something that comes to my mind when launching Anymeal at first time, Anymeal icon is not very graphical in my opinion (just a casserole picture). May be your opinion is different, so you may ignore this.
Icon is taken from that page which list some free icons related to recipes software : https://www.freeiconspng.com/images/recipes-icon-png
It is easy to start from one of these ones (or any other free icon one can find ), and modify it to match Anymeal software.