I've been using the korn shell for over twenty years now. Not only on solaris/opensolaris, but I also use it on windows, through the Uwin project, a port of the ast toolkit - a portable set of all standard unix tools, including the shell, but also nawk and the usual cat,sed,tr, list of tools.
Today, I finally created an icon for the UWIN shell console - the original icon, with the letters UWIN in bright colours is not displayed on the console window title bar. It is too large, and the title bar reverts to the standard C:\ icon.
I never paid much attention to it, but tonight I figured out the issue - the title bar icon should be no larger than 16x16 pixels. Once I realised that, a new fitting icon was created quickly, and here it is:
Yes, it's tiny. It's also just what I want for the shell window in my windows quick launch toolbar.
Here's a bigger view of the design. Getting the dollar sign sharp at three pixels wide was a bit of a challenge, but I was quite satisfied.
There's a zip here with the icon as a windows .ico, plus the .png above, and the development version with an odd colour in the background, which can easily be turned transparant when you save with Irfanview.
I've modeled the icon after the 16x16 Windows CMD icon. That is, I've used the measurements of the frame, although the pixels are mine.
Author: Henk Langeveld, shell icon, Oct 2008: zip
Copyleft: This is a free work, you can copy, distribute, and modify it under the terms of the Free Art License http://artlibre.org/licence/lal/en/
In addition, the files can be distributed under the Common Public License
http://www.opensource.org/licenses/cpl1.0.txt
Update:
Windows actually uses multi-page ICO files. For the title bar and toolbars it'll look for a 16x16 bitmap or substitute another icon of that size. For the desktop it will use the largest icon available. Does anyone know of a simple method of combining icons in a single file? Free tools preferred. I did see a method using Photoshop, which seems a bit of overkill...
Enjoy
3 comments:
This Irfanview forum post asked the same question - with an answer referring to the Greenfish Icon Editor with which I was able to create a two-page 'sh' icon, at both 16x16 for the title bar and 32x32 for the regular icon.
IcoFx supports that and is free: http://icofx.ro/
Tx, I may try that sometime.
Of course, I've already been able to do what I wanted. Using greenfish was really straightforward and intuitive.
Post a Comment