CHM: Difference between revisions

From miki
Jump to navigation Jump to search
(Created page with ''''CHM''' files are ''compressed HTML'' files, which are basically the format for help files in Windows. == Troubleshoot == ;Navigation to webpage was canceled * The <tt>.chm</t…')
 
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
* The <tt>.chm</tt> file is on a network or remote drive. Try copy it on a local drive and open it from there
* The <tt>.chm</tt> file is on a network or remote drive. Try copy it on a local drive and open it from there
* The <tt>.chm</tt> file was downloaded from the Internet, and blocked by Windows. In Windows Explorer, right click on the file &rarr; ''Properties...'', then in the ''General'' pane &rarr; click on ''Unblock''.
* The <tt>.chm</tt> file was downloaded from the Internet, and blocked by Windows. In Windows Explorer, right click on the file &rarr; ''Properties...'', then in the ''General'' pane &rarr; click on ''Unblock''.

;CHM empty (blank)
* Import the following registry file [https://www.helpscribble.com/chmnetwork.html] [https://support.microsoft.com/en-us/help/896358/ms05-026-a-vulnerability-in-html-help-could-allow-remote-code-execution]:
<source lang=registry>
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
"MaxAllowedZone"=dword:00000001
</source>


== Viewing in Linux ==
== Viewing in Linux ==
Line 24: Line 33:
: A <tt>.chm</tt> file viewer that is independent of the graphical environment
: A <tt>.chm</tt> file viewer that is independent of the graphical environment


;Firefox plugin - CHM Reader
;Firefox plugin - CHM Reader or ChmFox
: Ok, I admit it, this is the '''best viewer''' of all on Linux. Perfect rendering, fast.
: Ok, I admit it, this is the '''best viewer''' of all on Linux. Perfect rendering, fast.
: It also include a sidebar to navigate through the CHM Contents and Index.
: It also include a sidebar to navigate through the CHM Contents and Index, and we can navigate back and forth using mouse gestures.
: Actually even much better than the default reader, so even on Windows this is a better choice.


;Okular
;Okular
: The pdf file viewer under kde, which can also show <tt>.chm</tt> files &mdash; ''not anymore'' ! Support has been removed
: The pdf file viewer under kde, which can also show <tt>.chm</tt> files &mdash; ''not anymore'' ! Support has been removed


Otherwise a quick and dirty trick is to unpack the .chm file and to open up the <tt>index.html</tt> file.

Latest revision as of 08:59, 21 February 2017

CHM files are compressed HTML files, which are basically the format for help files in Windows.

Troubleshoot

Navigation to webpage was canceled
  • The .chm file is on a network or remote drive. Try copy it on a local drive and open it from there
  • The .chm file was downloaded from the Internet, and blocked by Windows. In Windows Explorer, right click on the file → Properties..., then in the General pane → click on Unblock.
CHM empty (blank)
  • Import the following registry file [1] [2]:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
"MaxAllowedZone"=dword:00000001

Viewing in Linux

(list from [3]):

gnochm
Viewer on Gnome — deprecated
kchmviewer
Viewer for KDE — ugly, no full support of tabs, etc
wine
Use windows help file viewer under wine:
wine hh.exe helpfile.chm
xChm
A .chm file viewer that is independent of the graphical environment
Firefox plugin - CHM Reader or ChmFox
Ok, I admit it, this is the best viewer of all on Linux. Perfect rendering, fast.
It also include a sidebar to navigate through the CHM Contents and Index, and we can navigate back and forth using mouse gestures.
Actually even much better than the default reader, so even on Windows this is a better choice.
Okular
The pdf file viewer under kde, which can also show .chm files — not anymore ! Support has been removed


Otherwise a quick and dirty trick is to unpack the .chm file and to open up the index.html file.