Score:1

Launcher icon not found anymore

th flag

The launcher icon for clementine cannot be found anymore. The launcher displays a default cog icon.

Clementine has been installed as a snap. I've found the .desktop file is /var/lib/snapd/desktop/applications/clementine_clementine.desktop and the icon "path" is Icon=org.clementine_player.Clementine which relates to some icon based on some convention I can find nothing about.

I've edited the .desktop file to have a custom icon (with an actual absolute path, which worked correctly), but the icon is back to default cog. It may have been reset to default cog icon after a reboot or not (I don't remember rebooting my laptop and I did not notice when it went back to default cog).

Any information about the path/icon naming convention in the .desktop file would be appreciated. Or any way to really solve this problem (should I remove the snap and use apt instead?).

Knud Larsen avatar
by flag
21.04 : The default clementine, from **universe** repo installs OK. .... Space used is 25.8 MB including the ~5 dependencies.
Score:1
cn flag

It may be that there is an issue with the icon installed through the snap package. That your icon reverted after specifying a full pathname could only be explained by a system update that overwrote the .desktop file that you changed - or perhaps some mechanism specific to snap (these are compressed disk images that are mounted on each reboot).

To prevent that from happening, copy the .desktop file to your .local/share/applications folder. Copy the icon you wish to use to your .local/share/icons folder. Edit the Icon= line of the local copy and specify the file name (only the name, without path or extension).

Desktop launchers and icons are searched for in dedicated paths of your system. Your local dedicated folders have precedence. Thus, the modified .desktop launcher will remain in effect even if the system installed launcher would be overwritten.

Arcesilas avatar
th flag
Thanks for your answer. Any idea about the "path" of the icon, since "org.clementine_player.Clementine" is not an actual filepath?
vanadium avatar
cn flag
Just fill out the actual name of the icon file that you copied, without the `.png` or `.xpm` extension instead of `org.clementine_player...`
Arcesilas avatar
th flag
I've got it working with the absolute path. But the icon name in the default .desktop file does not match any file on my computer... So there me be a convention but I could not find anything about it.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.