--- /usr/bin/gnome-exe-thumbnailer.orig 2013-10-15 22:47:21.969804950 +0400 +++ /usr/bin/gnome-exe-thumbnailer 2013-10-15 23:37:46.433940001 +0400 @@ -70,6 +70,14 @@ TUNE='-modulate 120,100,0' else + # get .exe name from .lnk (we hope .exe contains icon) + if [[ ${INPUTFILE##*.} = 'lnk' ]] + then + INPUTFILE=$(winepath -u `winedump "$INPUTFILE" | grep -a 'Icon path' | cut -c 12-`) + # write debug info; may be removed + echo $INPUTFILE + fi + # Extract group_icon resource. # If we get the "wrestool: $INPUTFILE could not find `1' in `group_icon' resource." error, # there is a 99.9% chance that input file is an installer.