Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21986 ideas, 135057 comments, 2615221 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #2141: GNOME thumbnailer should extract icons from exe

bug This idea was marked as implemented the 12 October 10.
Written by mateusza the 1 Mar 08 at 12:08. Related project: Nautilus. Status: Implemented
Rationale
Thumbnailer should extract icons from exe files and let nautilus and other programs use them as a preview image.
Tags: (none)

530
votes
implemented
Selected solution (#1): Auto-generated solution of idea #2141
Written by mateusza the 1 Mar 08 at 12:08.
Ubuntu Brainstorm was updated in January 2009. Since the idea #2141 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!
36
votes
implemented
Selected solution (#2): Use .exe's icon, but put a Wine emblem on it
Written by Endolith the 17 Jan 09 at 22:40.
I think we should have the full-size icon be the icon extracted from the .exe, but also add a Wine emblem to show that it will be run through Wine.

Here's a mock-up of what I'm imagining:



Then if the .exe is associated with some other helper application, like CrossOver, it could have an emblem for that instead.
10
votes
implemented
Selected solution (#3): This is already done and working, include it Ubuntu!!
Written by qb89dragon the 20 Jul 09 at 03:39.
Here is an easy step-by-step guide to make nautilus show wine icons.

http://www.objectnetworks.net/wiki/index.php?title=Exe_icon_for_Gnome

Ubuntu devs, please make this gnome mime-type be included by default. It has nothing to do with wine and everything to do with nautilus, it's install footprint is small. Just do it!

Attachments


Duplicates


Comments
Auzy wrote on the 1 Mar 08 at 12:10
Seems like one of those things that should be done, but may confuse users at this time as the exe's are not supported. This idea would need to be followed up with the addition of a popup box to install wine

rossburton wrote on the 1 Mar 08 at 12:49
This is a trivial script using icotools:

ICON_FILE=`tempfile --prefix win32 --suffix ico`
wrestool -x -t14 --output $ICON_FILE $INPUT
COMMAND=`icotool -l --width 32 --height 32 $ICON_FILE | head --lines=1`
icotool --extract $COMMAND $ICON_FILE --output $OUTPUT

jerieljan wrote on the 1 Mar 08 at 13:14
good idea, and while it's at it a small wine icon of some sorts should be inserted as well so that its easily identifiable that the said file is an executable

jrusinek wrote on the 1 Mar 08 at 19:57
There's a problemw with height. GNOME uses 48x48 by default, while some Windows apps have only 16x16 or 32x32 or even bigger.

qaaq wrote on the 1 Mar 08 at 22:21
I wrote a thumbnailer that superimposes .exe icons on a wine logo. Works well! Installation instructions in the archive.

http://www.mediafire.com/?ky94kc2jdjb

Thanks for the start, Ross, and have fun everyone. I consider this script to be in the public domain.

qaaq wrote on the 1 Mar 08 at 22:26
Also here: http://www.savefile.com/files/1413575

pilat wrote on the 6 Mar 08 at 12:50
+1.

Not only for having good links to wine-driven applications, but some exes have really good iconsets to be used almost everywhere ;-)

alvevind wrote on the 13 Mar 08 at 20:11
Yes, but add something in the corner to show it is a "run in Wine application".

Bender2k14 wrote on the 28 Jul 08 at 22:45
@jrusinek

Ideally, all graphics would be svg, so resolution would not matter.

YokoZar (Ubuntu developer) wrote on the 2 Nov 08 at 06:57
Hmm, I'm not certain whether superimposing a Wine logo or just leaving the icon as it is is a better idea. By adding the Wine logo we make it clear that the user is using Wine (and thus where entries will appear in the applications menu when it's installed), but on the other hand in a perfect world a user wouldn't even know they're running Wine.

mhall119 wrote on the 3 Nov 08 at 20:49
Ideally the wine package would contain the thumbnailer for .exe files, so that they only display their own icon when you have Wine installed to do something with them. I would be okay with Wine over-laying it's own icon on top of that, to make users aware that it will be run through Wine.

This isn't a perfect world, and as long as Wine-installed applications are under the Wine menu, the distinction is already being made, so we may as well make the distinction in the thumbnail for consistency's sake.

The only concern would be that .Net exe's can also be run through Mono. Is there a way for Mono and Wine to determine which is better suited for running the file? If so, then whichever one will run the file get's to put it's icon on top of the .exe's internal icon. Then you have a handy way of seeing, at a glance, that setupA.exe uses Wine, but setupB.exe uses Mono.

Endolith wrote on the 14 Dec 08 at 17:49
Show the icons alone:

http://www.objectnetworks.net/wiki/index.php?title=Exe_icon_for_Gnome

http://ubuntuforums.org/showthread.php?t=998758

Endolith wrote on the 30 Jan 09 at 16:29
A thumbnailer for this exists already, but it's really not the correct solution to use a thumbnailer. What we really want to do is set an icon, not a thumbnail.

This is what happens when you do a thumbnail:

http://launchpadlibrarian.net/21331762/gnome-exe-thumbnailer.png

and this is what happens when you set the icons:

http://launchpadlibrarian.net/21331797/Using%20icons%20as%20icons.png

pali wrote on the 10 Jan 10 at 09:58
Idea with icoutils (wrestool) is nice. I was inspirated and I added support for windows exe file for new KDE4.4 (konqueror, dolphin, ...). Now it is for karmic in kubuntu kde4 ppa.

It extract icon (not only first small), but with request width/height, see http://reviewboard.kde.org/r/1533/

This only request icoutils package.


Post your comment