I am aware that wine will create a .xpm for the icon in the program file, but how would I create it after a "manual install"? I recently copied mspaint from my win partition to my wine installation and would like an icon on the user desktop link. Several programs I have for windows may require a manual install, so I would like to know how the .xpm is created.
QQ_ghost wrote:> I am aware that wine will create a .xpm for the icon in the program file, but how would I create it after a "manual install"? > > I recently copied mspaint from my win partition to my wine installation and would like an icon on the user desktop link. Several programs I have for windows may require a manual install, so I would like to know how the .xpm is created.You have to have .lnk file for this. You can't force Wine to extract just an icon.
What do you mean I need a .lnk? If I create a MS soft-link file, the icon will appear on my desktop?
QQ_ghost wrote:> What do you mean I need a .lnk? If I create a MS soft-link file, the icon will appear on my desktop? > > EDIT: Since a .lnk file is a binary, and there is no way of me manually generating one, how would I edit one? I went into windows and generated one but it points linux to the windows partition. How do I change it to reflect a different spot? > > Or, how would I change the windows .lnk file forwarder to access the wine desktop, instead of the windows filesystem?You can do that with proper API calls. Or you can just install that software on Wine. This is so complicated for a reason - extracting icons from executables might be considered copyright infringement. You can always use 3rd party resource editors to get those icons out.