Creating favicon.ico on Linux

This quick document outlines creating the icon that can be associated with your bookmark or appears beside your URL. Note that not all browsers will use this image, indeed I think it's origin comes from Internet Explorer.
Run the Gimp (Photoshop clone) and create an image of size 16 x 16 pixels.
$ gimp favicon.pnm
  

Convert our image to the windows icon format:
$ ppmtowinicon -output ~/public_html/favicon.ico favicon.pnm
  

Make it so the webserver can read the file:
$ chmod a+r ~/public_html/favicon.ico
  

Add to your HTML in the <head> ... </head> section something like this stuff:
<head>
   <link rel="shortcut icon" href="http://c-mills.ctru.auckland.ac.nz/favicon.ico">
   <title>Clark's Web Links</title>
</head>
  

How your icon might appear in Galeon under Linux next to the URL:

How your icon might appear in Galeon under Linux in your bookmarks:


Tue Aug 13 17:02:16 NZST 2002 Clark Mills