Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
4  
Related question here with useful answers: how can i make man more gui friendly –  user76204 Feb 11 '13 at 21:35

10 Answers 10

up vote 7 down vote accepted

Gman

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:

  • ghostview
  • Evince
  • LocalBrowse
  • NetBrowse

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 man2html package installed and will bring up the man pages in your default browser.

share|improve this answer
    
It's not clear to me how to use Evince to view a man page. Could you elaborate? –  Firefeather Jul 24 '13 at 23:13
    
@Firefeather See my updated answer with image added. Hope this clears things up for you. –  Kevin Bowen Jul 25 '13 at 16:07
    
I had misunderstood, thinking you were listing Evince as one of several other options besides Gman. This both clears up that confusion and also gives me a better idea of how Gman works. Thank you. –  Firefeather Aug 9 '13 at 22:45

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 /usr/share/man/man1 or /usr/local/share/man/man1, but there are more manpages stored in various subdirectories of /usr/share/man, named after the corresponding application name. This should also include manpages from installed applications not available through the Ubuntu repositories (e.g. installed manually or through a ppa).

In GNOME we may browse to the corresponding /usr/share/man subdirectory to open the manpage with file-roller and gedit.

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:

share|improve this answer

KDE Helpcenter

KDE Menu > Applications > Help > Unix manual pages

enter image description here

Quick launch

By the khelpcenter help

:~$ khelpcenter --help
Usage: khelpcenter [Qt-options] [KDE-options] [url] 

The KDE Help Center

Generic options:
  --help                    Show help about options
  --help-qt                 Show Qt specific options
  --help-kde                Show KDE specific options
  --help-all                Show all options
  --author                  Show author information
  -v, --version             Show version information
  --license                 Show license information
  --                        End of options

Arguments:
  url                       URL to display

Command: khelpcenter man:apt will show the apt man page via the KDE help center.

With the quick launcher /1/ Mangonel:

enter image description here

The Mangonel is available from the Ubuntu repositories: http://packages.ubuntu.com/search?keywords=mangonel&searchon=names&suite=all&section=all

KDE kio-man

KDE Help center > Kioslaves > man

Using the man ioslave you are able to read the man pages installed on your system. It is easy to use...

As with any other KDE ioslave, it is possible to enter a URL, like man:/socket in any KDE application.

With the Konqueror - "man:apt"

enter image description here

Other browsers - The KDE System Settings > File Assosiations > html.

enter image description here

How good or bad the parsing of the kio-man html output is depending the picked browser.

enter image description here

The browser can be launched from the KRunner /1/.

enter image description here

The Kubuntu Forums has a topic: 'Graphical man page viewer' /2/ in the How To's section.

Links

  1. KDE Launchers: http://www.kubuntuforums.net/showthread.php?59851-KDE-Application-Launchers
  2. http://www.kubuntuforums.net/showthread.php?62631-Graphical-man-page-viewer
share|improve this answer
    
+1 That's certainly better than my answer considering the user's DE. –  Kevin Bowen Feb 21 '13 at 9:42

If you are willing to use your browser, you can visit The Ubuntu Manpage Repository. Here's a quote from that page:

Welcome to the Ubuntu Manpage Repository This site contains hundreds of thousands of dynamically generated manuals, extracted from every package of every supported version of Ubuntu, and updated on a daily basis. Traditionally, manpages are browsed on the command line. This project renders all such manuals included in Ubuntu into an HTML, web-browsable format.

share|improve this answer

In Kubuntu via Krunner (Alt+F2) type #ls or any other command. Just add a '#' in front.

see also: http://userbase.kde.org/Plasma/Krunner#Issue_.28shell.29_commands

share|improve this answer

So out of all this answer I usually use this way, when I need to refer any manual.

man ls>/tmp/ls.txt && gedit /tmp/ls.txt

instead of gedit use any text editor.

share|improve this answer
    
if there is any command line expert please shorten this command as I am newbie in terminal :) –  Rohith Raveendran Feb 11 '13 at 23:29
1  
See here: askubuntu.com/a/36023/25656 –  user25656 Feb 12 '13 at 10:26

If You know emacs -- it has a woman command, where You should type in the page You'd like to read. woman has a top level menu and You there can, in particular, generate clickable ToC.

share|improve this answer

At the command line try examples:

yelp man:printf
yelp 'man:printf(3)'

or use

yelp man:printf & 

to carry on working at the command line. For a more permanent solution try adding

man () { yelp "man:$@"; }

to the last line of your .bashrc file. Then at the command line try examples:

man printf
man printf &

for the yelp viewer to come up. I like having the scroll-able window next to my CLI to alt-tab to.

share|improve this answer

I find GTKMan very promising.

Here a screenshot of it in action:

a busy cat

share|improve this answer

man pages have been around for many years before you had a graphical desktop environment. They are CLI native man pages for CLI apps.

There would be no reason to view them graphically when they are man pages for a CLI command to begin with.

You could use Gman but I don't personally see the point.

share|improve this answer
    
Yes, and typesetting and proper fonts also has been around for a couple of centuries too... –  miguel.negrao Mar 24 at 8:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.