I did a bit of debugging on the icon file. $ identify notes.ico notes.ico[0] ICO 48x48 48x48+0+0 4-bit DirectClass 42.2KB 0.000u 0:00.000 notes.ico[1] ICO 32x32 32x32+0+0 4-bit DirectClass 42.2KB 0.000u 0:00.000 notes.ico[2] ICO 16x16 16x16+0+0 4-bit DirectClass 42.2KB 0.000u 0:00.000 notes.ico[3] ICO 48x48 48x48+0+0 8-bit DirectClass 42.2KB 0.000u 0:00.000 notes.ico[4] ICO 32x32 32x32+0+0 8-bit DirectClass 42.2KB 0.000u 0:00.000 notes.ico[5] ICO 16x16 16x16+0+0 8-bit DirectClass 42.2KB 0.000u 0:00.000 notes.ico[6] ICO 64x64 64x64+0+0 32-bit DirectClass 42.2KB 0.000u 0:00.000 notes.ico[7] ICO 48x48 48x48+0+0 32-bit DirectClass 42.2KB 0.000u 0:00.000 notes.ico[8] ICO 32x32 32x32+0+0 32-bit DirectClass 42.2KB 0.000u 0:00.000 notes.ico[9] ICO 16x16 16x16+0+0 32-bit DirectClass 42.2KB 0.000u 0:00.000
$ convert notes.ico notes.png $ ls notes-0.png notes-1.png notes-2.png notes-3.png notes-4.png notes-5.png notes-6.png notes-7.png notes-8.png notes-9.png This gives me all of those in separate .png files, it seems like the unity-2d launcher is loading the first one by default "notes.ico[0] ICO 48x48 48x48+0+0 4-bit" (notes-0.png) instead of the 32-bit version, hence the pixelated graphics and odd colours. If I remove the 4-bit png's and reassemble the ico file, under the unity-2d launcher it correctly loads the right icon: $ rm notes-0.png notes-1.png notes-2.png $ convert png8:notes-3.png png8:notes-4.png png8:notes-5.png png32:notes-6.png png32:notes-7.png png32:notes-8.png png32:notes-9.png notes.ico - right click on notes icon and select "Unlock from launcher" - follow step four in bug description to re-add the desktop file Unity-3d's launcher seems to select a icon from the .ico with a better colour depth by default. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/956714 Title: Icons in .ico format do not display correctly in the unity-2d launcher To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-2d/+bug/956714/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
