And here's the script itself (public domain, by qaaq on Ubuntu Brainstorm). It doesn't seem to work on most icons.
I changed the install instructions a little to re-use the built-in MIME type:
---- sudo apt-get install sharutils icoutils sudo cp gnome-exe-thumbnailer /usr/local/bin sudo chmod a+rx /usr/local/bin/gnome-exe-thumbnailer gconftool-2 --set /desktop/gnome/thumbnailers/application@x-ms-dos-executable/command --type string "/usr/local/bin/gnome-exe-thumbnailer %i %o" gconftool-2 --set /desktop/gnome/thumbnailers/application@x-ms-dos-executable/enable --type boolean true ----
And here's the script itself (public domain, by qaaq on Ubuntu Brainstorm). It doesn't seem to work on most icons.
I changed the install instructions a little to re-use the built-in MIME type:
---- thumbnailer /usr/local/bin bin/gnome- exe-thumbnailer gnome/thumbnail ers/application @x-ms-dos- executable/ command --type string "/usr/local/ bin/gnome- exe-thumbnailer %i %o" gnome/thumbnail ers/application @x-ms-dos- executable/ enable --type boolean true
sudo apt-get install sharutils icoutils
sudo cp gnome-exe-
sudo chmod a+rx /usr/local/
gconftool-2 --set /desktop/
gconftool-2 --set /desktop/
----