Obtaining application icons in Linux
Hi,
So QFileIconProvider works pretty well on Windows for grabbing icons executables, but seems not to do so on Linux. :( At least not on GNOME. Can anyone recommend a general way of asking the window manager or perhaps a query against a file of some type to obtain the icon for executables on Linux?
Thanks.
Re: Obtaining application icons in Linux
The answer is not trivial as each desktop system stores its icons elsewhere. For instance for KDE you would look into /usr/share/icons/default[.kde4]/32x32/mimetypes.
Re: Obtaining application icons in Linux
Thanks.
I don't mind it not being trivial. Just needed a starting point - which you provided.