[fpc-pascal] How to get path to current theme icons on linux?

Daniel Gaspary dgaspary at gmail.com
Tue Jan 10 19:35:08 CET 2012


On Mon, Jan 9, 2012 at 18:45, Krzysztof <dibo20 at wp.pl> wrote:
> I need to load icon associated by file extension. On windows I done
> this by WinAPI function ExtractAssociatedIcon(). On linux is not so
> easy, because we have GNOME, KDE, XFCE, LXDE etc, but I noticed that
> icons are stored in this same place

I believe that file/dir locations are ruled by freedesktop
specifications.I have found this:

http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html#s2_layout



More information about the fpc-pascal mailing list