How to view CHM (Microsoft Compiled HTML Help) files in Ubuntu
You can use either kchmviewer or gnochm or xchm.
kchmviewer from KDE
kchmviewer is a CHM (Winhelp) files viewer written in Qt/ KDE. It can be build as a stand-alone Qt-based application or a KDE application. The main point is compatibility with non-English CHM files, including most international character sets. It has the features set of standard viewer: search (including non-English CHMs), bookmarking, font size changing, index/content browsing, codepage support, and more.
Install kchmviewer Using the following command
sudo aptitude install kchmviewer
gnochm from Gnome
GnoCHM is a CHM file viewer for GNOME. It is implemented in Python, using the PyCHM bindings for chmlib.
Install gnochm Using the following command
sudo aptitude install gnochm
xCHM is a cross-platform GUI front-end to chmlib, with borrowed bits from Pabs' chmdeco project.
Originally written for UNIX systems (Linux, *BSD, Solaris), xCHM has been since ported to Mac OS X and Windows.
xCHM can show the content tree if one is available, print pages, change font face and size, remember bookmarks, display a searchable index, and search for words in the current page and the whole book.
Install gnochm Using the following command
sudo aptitude install xchm
I installed “gnochm from Gnome” and it works like a charm !!! Thanks for this post…
Greetingz for Turkey!!!
I’ve tried all three, and only xchm works in my Mint Linux / Compaq R3010 environment.
I’ve just installed gnochm ..and it works very well … Thank you Echza
I’ve installed all those three. only gnochm is work for my ubuntu linux. thanks for sharing
I just wondering, Is there any possible font setting in hidden directory for this application.Because the default font size is too small.
Thanks a lot it works well thanks again ……………………………
I tried gnochm on my Acer Aspire One, but the font was too small. I could enlarge it, but the scrollbar would not adjust to accommodate the larger content and I could not see it all.
xchm, however, works great right out of the box and I didn’t even have to mess with the fonts.
all three i tried..
thank you for suggestion
Thanks for this, gnochm works great!
Thanks,kchmviewer from KDE works perfectly.
xchm is working.
now I can use chm files in ubuntu.
Thank you! I installed GnoCHM and works prety well!
Firstly, thank you for this extremely handy blog. I frequently find useful/helpful little tips and notes here, both for myself, and for sharing with Ubuntu “newbies”. 😉
I have used, and on occasion still do use kchmviewer under KDE and it does the job quite well, however, one other nifty option possibly worth mentioning here is the ‘archmage’ package (found in the Universe repositories on Ubuntu, under the Utilities category, last I checked) which comes with a couple of .chm dumping/extraction tools, but it also happens to provide a couple of nice options to conveniently serve your .chm files (via Apache mod_chm or standalone) directly to any web browser you happen to prefer.
That’s my two cents… I hope it helps someone, somewhere, sometime… 😉
Could not install gnochm on ubuntu but xchm works perfect.
Thanks for this useful and efficient post.
I had the intuition to choose kchmviewer and… yay it worked right on!
Just typed the suggested command :
> sudo aptitude install kchmviewer
and that’s it!
Maybe one minor bug but I don’t know if it’s os related or kviewer’s:
if you try to click on “open with” (right click context) the chm file the first time after you move the file to a more apropiated place than the one you dowloaded it to (my case), then choose the kchmviewer program from the suggested list, it will fail reading the contents, it reads the tree structure though. My suggested fix: open kchmviewer first then use “Open…” from the “file” menu and navigate to your chm file location. I know it’s a minor stuff, but I thought someone would think kchmviewer is unable to read the file whereas it does the job perfectly!
One last note :
If you don’t like keep microtheft formats on your machine, you can use the wonderful kchmviewer export function (“file”->”Extract CHM contents”), create a new folder through the dialog window and select that folder to throw in the complete doc in html format.
Actually, it does more than extracting, it looks like it reconstructs the original M$ CHM build environment. I was a little puzzled when i saw the tree structure but I found all the html doc under the “res” (resource I guess) folder. There’s an “index.html” file inside the “res” folder. Just launch it with your favorite browser.
My config :
-HP Pavilion dv6000 series
-Centrino Duo @1.66GHz @1.67GHz
-Ubuntu Gutsy Gibon 7.10
gnochm doesn’t seem to be in repositories any longer. xchm works very well though, as buzzjn says above.