How to make a Favicon for your website using Debian Linux

To make a favicon (that icon that appears before http:// in the address bar of your browser):

(1.) Install xpm2wico (xpm to Windows ico converter) using APT.

(2.) Capture and shrink or create/edit a 16×16 graphic in GIMP, KIconEdit, etc.

(3.) Save your image in X PixMap Image (xpm) format.

(4.) Open a console to the directory with your file and type: “xpm2wico favicon.xpm favicon.ico”.

(5.) Upload your new .ico file to your website’s main directory, and add this bit of code to the webpage’s HTML (edit the icon name as appropriate):

<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />

Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *