Le 05/05/2020 à 20:55, Yvan Masson a écrit :
After more experiments, still on my personal laptop, I can say that when my desktop file is named with an application ID (e.g. com.example.myapp.desktop), it works only in LXQT but not in Gnome. Very strange, as it works for other programs (e.g. org.gnome.Evolution.desktop).Le 05/05/2020 à 17:06, Yvan Masson a écrit :I am again in a working state: my desktop file is named "libretrombi.desktop", my icons "libretrombi.png", and my executable "libretrombi". This is good, but I want to distribute my software with Flatpak, which requires the use of an "application ID" (e.g. org.domain.myapp), so I will continue experiment.Le 05/05/2020 à 16:48, Yvan Masson a écrit :Unfortunately there must be caching somewhere in LXQT, or I missed something, because after login in to Gnome again I could not see my icon anymore. And I see now that it does not work anymore in LXQT… :-(Le 05/05/2020 à 15:52, Yvan Masson a écrit :OK, I found a solution: I renamed my python script in /usr/local/bin to "libretrombi" and it works now.Le 05/05/2020 à 12:42, Liam O'Toole a écrit :Thanks for the suggestion, but no change. It seems normal because desktop environment must fall back to hicolor theme when the icon is not found is the current theme (see "Installing Application Icons" in https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#install_icons).On Mon, 04 May, 2020 at 23:02:16 +0200, Yvan Masson wrote:Le 04/05/2020 à 22:52, Liam O'Toole a écrit :On Mon, 04 May, 2020 at 22:29:14 +0200, Yvan Masson wrote:Le 04/05/2020 à 22:21, Liam O'Toole a écrit :Sorry I do not understand your question: I only have one icon, in different sizes (plus one SVG in the "scalable" subdirectory). What I understand is that Freedesktop specification says that application developpers should putOn Mon, 04 May, 2020 at 21:22:20 +0200, Yvan Masson wrote:Le 04/05/2020 à 17:06, Liam O'Toole a écrit :On Mon, 04 May, 2020 at 16:28:30 +0200, Yvan Masson wrote:That looks reasonable. Does your current icon theme inherit from hicolor?the icon in the hicolor directory: am I wrong or missing something?To simplify the question: what does gsettings get org.gnome.desktop.interface icon-theme say?It says "Adwaita"OK. Try putting your icon file in one of the Adwaita directories insteadof hicolor.I might have a similar issue as the one discribed on https://github.com/solus-project/budgie-desktop/issues/821 but I still need to investigate.I did so many tests I forgot that I won't try to find a proper explanation. Thanks for your suggestions!I will have to make some new tests… I will let you know.
Computer mysteries…