[libvirt] [PATCH] Add a Windows icon resource to virsh.exe

Richard W.M. Jones rjones at redhat.com
Wed Oct 15 16:59:59 UTC 2008

On Wed, Oct 15, 2008 at 05:49:06PM +0100, Daniel P. Berrange wrote:
> What color depth did you create the icons at ?

32 bits (in GIMP).

> This blog posts suggest
> the problem is more horrific than you can possibly imagine, requiring
> a total of 12 icons to be provided for proper Windows compatability
> http://frankieloscavio.blogspot.com/2007/10/ico-files-and-how-they-work-using-best.html
> And apparently all the different versions should be in the same .ICO
> file ?!?!


I'm quite sure there used to be programs to generate and manipulate
ICO files from Linux but I can't find any at the moment.  It doesn't
necessarily matter if all the icons are combined into a single file or
not, because i686-pc-mingw32-windres combines everything into a single
resource object (a COFF object file) which gets linked to the final

Suggest that we add the patch & icons as-is and let people who use
Vista and/or are graphic designers deal with this in the future?


Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.

More information about the libvir-list mailing list