
You know that man (manual) pages are open on terminal only. Sometimes it is hard to read any text on terminal. I don't like to read any text on darker background. I think reading texts should wrote on white background with black words. Here is a way to see Ubuntu manual pages in a GUI Mode.
- Go to your home folder.
- Press Ctrl+H
- You can see all hidden files and folders.
- Now search for ".bashrc" (without quots).
- Open it with 'gedit'
- Add the line below after the last line of this file.
man () { yelp "man:$@"; }
- Save it.
Now try to open a man page on terminal. It will open with a graphical document viewer named YELP. See the screenshot above of this post. I use command 'man sudo' to take the image.



Simple as 1-2-3; few alignment issues, but really appreciated (under Ubuntu 11.10 32 bit)
ReplyDeleteVery usefull, fast, and do the job as it should !
ReplyDeleteThanks for this tip !!
and how could one do something equivalent to "man 2 open"?
ReplyDelete