Are there any tools to view man pages in a GUI?
I personally dislike the command line interface. It lacks easy scrolling, searching and so on. Is there any tool with some more intuitive user interface and features?
Preferably for KDE.
From the Ubuntu man page, Gman is a "GTK+ based front-end for man, a good replacement for xman."
Gman provides a simple index of the man pages installed on your local system and offers several options for viewing the man pages. The default option is to have gman open the pages in xterm, but this can be modified to suit your taste.
The other viewing options available are:
In order to change the application used for viewing, select View from the menu and click the radio box next to your preferred application, as shown below:
The last two options require having the
At the command line try examples:
to carry on working at the command line. For a more permanent solution try adding
to the last line of your .bashrc file. Then at the command line try examples:
for the yelp viewer to come up. I like having the scroll-able window next to my CLI to alt-tab to.
In KDE we can search and display Unix manpages from the KDE Help Center or we can open and display the content of any locally stored manpage with Ark.
According to the Debian FHS user program manpages are .gz compressed and stored in
In GNOME we may browse to the corresponding
By performing a custom search on Manpages Ubuntu only manpages of applications available from the official repositories will be found.
To edit manpages also see:
KDE Menu > Applications > Help > Unix manual pages
By the khelpcenter help
With the quick launcher /1/ Mangonel:
The Mangonel is available from the Ubuntu repositories: http://packages.ubuntu.com/search?keywords=mangonel&searchon=names&suite=all§ion=all
KDE Help center > Kioslaves > man
With the Konqueror - "man:apt"
Other browsers - The KDE System Settings > File Assosiations > html.
How good or bad the parsing of the kio-man html output is depending the picked browser.
The browser can be launched from the KRunner /1/.
The Kubuntu Forums has a topic: 'Graphical man page viewer' /2/ in the How To's section.
If you are willing to use your browser, you can visit The Ubuntu Manpage Repository. Here's a quote from that page:
In Kubuntu via Krunner (Alt+F2) type #ls or any other command. Just add a '#' in front.
I liked Justin Solm's answer in that he added a line to his .bashrc to replace the man command with his gui man of choice, yelp. That is what I wanted, however sometimes I am running w/o X (such as through SSH). I wanted it to automatically fall back to the commandline.
At another post I found answers about how to do that, mostly those were checking the DISPLAY variable. That is good but one answer included a C program called RunningX that actually checked to ensure the DISPLAY variable is actually valid rather than just defined and non-empty. Even better! I recommend going over there and getting it!
Here is what I ended up with:
I'm sure this could be adapted for use with Gman, KDE's help center or whatever man viewer one prefers. It could be adapted for other uses besides manpage browsing as well.
So out of all this answer I usually use this way, when I need to refer any manual.
instead of gedit use any text editor.