Sunday, December 14, 2008

man2html : Ubunutu Man pages in Firefox

Properly formated man pages in Mozilla Firefox (or any browser) is a dream of linux users, if it has a search facility? great!!!

First you have to install man2html using Synaptic or apt

$ sudo apt-get install man2html

Then open Mozilla Firefox and do the following

Go to Bookmarks > Organize Bookmarks;
Open a bookmark folder then right-click and chose New Bookmark;
Name the new bookmark Man;
In the Location field paste this line:

http://localhost/cgi-bin/man/man2html?query=%s

In the Keyword field type man;
Click Add.

Now you try man ls in address bar of your browser

You can try

http://localhost/cgi-bin/man/man2html?query=

also, before adding bookmark just cut and paste the above to your browsers address bar

1 comment:

Unknown said...

Sir,I am Sanu studying in your college.
I have a problem with this man to html
its giving me a 'page load error'
i have tried both the ways