If you’ve ever installed any Windows programs in Ubuntu, you’d know Wine takes care of extracting the program’s icon (usually in the ancient .ico format) for use in Ubuntu. But, for whatever reason it may be, you may need to recreate those, but you don’t have the reinstall your programs just to do so.
In my case, copying over the entire .wine folder to a freshly-installed system gave me all my old Windows programs in perfect working order (gotta love Linux!), but the launchers no longer have the familiar icons. While I copied over a hidden folder with panel launchers, I’d have to do some digging in my old system to restore those icons to what they were, but probably a less time-consuming answer would be to just extract those icons, have them converted to .png, and put them somewhere safe for use with the associated program.
Another scenario for why you would want to extract icons is that the default icon for one of your programs is horridly pixellated, yet you know the .exe actually contains a bunch of higher resolution icons, and wish to change it to one of those, simply to make it look better.
Now, there are a bunch of apps available for this, mostly command-line solutions but a few little GUI apps as well, but the easiest to use is gExtractWinIcons. All you have to do is open a resource file (like an executable .exe or .dll library), pick a destination to save to, select the desired icon(s) for extraction, and click Save.
If the file contains a lot of images, click Deselect All, and manually mark those you want for extraction. Once you’re finished, move your icons somewhere safe, and assign them to your Wine programs’ launchers.
☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻
Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!
Obrigado. Era exactamente o que pretendia… mas gostava de ter um download link!!!
No need for a download link – just install the program via Synaptic, like you would do with any program in Ubuntu.
excellent – just what I was looking for to make launchers for all the games I installed in Windows, but want to play in Mint too :)