Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running Mono executables from the Launch panel in Gnome, but I can't set the right icon. How to do that?

share|improve this question
up vote 3 down vote accepted

I use the same tools Colin mentioned. First install the icoutils package. Then to extract the ico from dlls or exe, just run:

wrestool -x --output=. -t14 name.exe

That usually extracts the main icon. Then to convert the ico file to png run:

for i in *.ico; do convert "$i" "$i.png"; done

The first command works for me about 99% of the time. If it doesn't give you the right icon file you can check this more in depth tutorial. Also, you can use the wrestool man file

share|improve this answer
Unfortunately, it seems to only work with 32bit (or 16bit) .exe files. wrestool cannot find resources in 64bit .exe files. – mivk May 29 '13 at 15:30

Try the wrestool utility in the icoutils package - I believe it can extract icon resources from Mono executables.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.