I have a GUI application that I want to install per-user in a FreeDesktop-compliant manner. Reading the relevant specifications, it seem that a '.desktop' file should be placed in ~/.local/share/applications
, and that it should contain an Icon
key set to the name of the icon without extensions.
The issue I'm facing is that I can't find per-user location where I should store the icon. The Icon Theme specification state that application icons should at least be stored in $prefix/share/icons/hicolor/48x48/apps
, but it never defines what values $prefix
takes. It mentions $HOME/.icons
but depricates it as legacy. All other paths I found were system-wide.
Gnome's Integration Guide specifies that icons should be stored in /usr/share/icons/hicolor/48x48/apps/
but makes no mention of per-user installation despite alluding to per-user installations elsewhere in the guide.
Given that what I managed to find does not provide me with the information I want, I ask this:
Where should a place my application's icon so that xdg desktops can find them?
Kindly note that I am aware of kde4-config --path icon
and friends. I want to avoid handling icons for every desktop I want to support if possible.