displayManPage

manpageMenu is made up of three scripts. Calling manpageMenu.sh allows you to see a list of man or info pages, then display your chosen page in your preferred viewer. The initial dialogue is constructed using yad, if available, otherwise a series dialogue generated by zenity is used.

The choice of man pages can be made using gtkMenuPlus, myGtkMenu, yad, zenity or (in a terminal window) pdmenu. The initial dialogues offers a combo box showing only those programmes which are on your path.

The man page can be displayed with yelp (the Gnome 2 help/documentation browser), plain text (in your default text editor), html in your default browser(which uses man2html if installed, otherwise just uses the --html option of the man command), pdf (requiring ps2pdf to be installed), or man in a terminal. Again, only the options whose requirements are installed appear in the initial dialogues.

If in addition to a man page there's a distinct info page for your chosen topic (generally GNU commands, whatever they are), a yad dialog will ask if you want to see it, and if so, in what format (text, or info in a terminal the only two options I've found so far).

yad, zenity, man2html, and ps2pdf are available in all good repositories near you. man, yelp and possibly zenity are probably installed by default on your system.

The manpageMenu dialog, yad version:

Resulting menu, gtkMenuPlus version:

Resulting man page, yelp version:

manpageMenu is a subdirectory of the examples directory in the gtkMenuPlus distribution and consists of three script files, which must be placed in the same directory. Make a launcher in a panel, menu or on the desktop for manpageMenu.sh, running it as an application (not in a terminal). There's an icon in the manpageMenu directory for you launcher if you want it.