justadude
2009-Feb-27 08:43 UTC
[Wine] Smth. about "Icon=" option in .desktop files created by WINE
When I install some Win32 application using WINE, it creates associated menu item file for it, located at ~/.local/share/applications/wine/Programs/***Program title***/***Program shortcut.desktop***. Well, inside this file I see option named "Icon", where path to some icon is set. Sometimes this path points to some PNG image file, but sometimes it points to something I don't have a clue about, like that one: "Icon=4e90_flv2mp3.0". Could anybody tell a newbie what does that means? And, how does WINE exctract icons from EXE files and converts them into PNG? Could I somehow do it by myself, if a program I install has no installation file, so I have to manege it manually?
vitamin
2009-Feb-27 16:39 UTC
[Wine] Re: Smth. about "Icon=" option in .desktop files creat
justadude wrote:> "Icon=4e90_flv2mp3.0". Could anybody tell a newbie what does that means?That's a filename (without extension) of an icon extracted by Wine. Look for them under ~/.local/share/icons justadude wrote:> And, how does WINE exctract icons from EXE files and converts them into PNG?Based on .lnk file information. See source of winemenubuilder for details. justadude wrote:> Could I somehow do it by myself, if a program I install has no installation file, so I have to manege it manually?With some 3rd party resource explorer probably. Wine does not provide such functionality.
dimesio
2009-Feb-27 19:42 UTC
[Wine] Re: Smth. about "Icon=" option in .desktop files creat
vitamin wrote:> > > justadude wrote: > > Could I somehow do it by myself, if a program I install has no installation file, so I have to manege it manually? > > With some 3rd party resource explorer probably. Wine does not provide such functionality.http://forum.winehq.org/viewtopic.php?t=856