Smth. about "Icon=" option in .desktop files creat

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
justadude
Newbie
Newbie
Posts: 1
Joined: Fri Feb 27, 2009 3:31 am

Smth. about "Icon=" option in .desktop files creat

Post by justadude »

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
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Smth. about "Icon=" option in .desktop files c

Post by vitamin »

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.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Smth. about "Icon=" option in .desktop files c

Post by dimesio »

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
Locked