What program can be used to view/convert *.chm (win help) files?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What program can be used to view/convert *.chm (win help) files? SOLVED
Hi.
Is it possible to view windows help files (*.chm) under linux, and what can be used to do it? Or maybe convert them to any other viewable format (pdf, html or whatever)?
I don't know of any programs as most don't need Windows help files in Linux. Is there a reason for this? Have you tried to just view them in a text editor?
Originally posted by shy Some piece of documentation was given to me in this format, and I have to read it
This is a binary file so a text editor is useless...
Is it possible with wine? I thought viewing a help file is some inner windows feature so maybe wine fails here...
If its a binary file.. I would think your screwed.. you'll need whatever program Microsoft uses to view help files, which I believe is built into Explorer
which you can use to decompile the chm file into regular html file(s). there are rpms available. also what you'll need to do is to edit the archmage script (get's installed in /usr/bin) and change the first line of the script to:
#!/usr/bin/python2.2
since the chm.py module is installed in python2.2's libraries in /usr/lib/python2.2
after converting, go to destination directory and open up index.html.
Good news for those why read .chm files under linux, there is a tool - HelpExplorer-2.1 from KAMA Software. It works just like the same tools in windows!
- make install (or checkinstall for those of you who want to be able to uninstall easy):
Code:
make install
or
Code:
checkinstall
- compile example programs (this is the scope of all this... in the example programs there is one which extracts the files from .chm):
Code:
make examples
After you make examples in the directory of chmlib will be the executable extract_chmLib . This is the thing you need. It extracts the html and images from .chm and makes a browsable site out of the .chm which you will be able to see with any browser.
That's it. This is what I use and I'm very happy with it. No stupid bloated X programs for which you need 1000 libraries to make them work. Easy and simple.
probably because /usr/local/lib isn't in your searchable path. I know redhat doesn't put /usr/local in the searchable path
path and there's probably a few other distros that don't either.
the quick down and dirty way to fix your problem is to probably create a symlink in /usr/lib to that file in /usr/local/lib.
Originally posted by megaspaz probably because /usr/local/lib isn't in your searchable path. I know redhat doesn't put /usr/local in the searchable path
path and there's probably a few other distros that don't either.
the quick down and dirty way to fix your problem is to probably create a symlink in /usr/lib to that file in /usr/local/lib.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.