Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: Howto: GnoCHM, a nicer way to view chm files

  1. #1
    Join Date
    Dec 2004
    Location
    Utah, USA
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Howto: GnoCHM, a nicer way to view chm files

    Many of the computer books I read include a cd with a chm copy of the book. I like the ability to read these files under Ubuntu. Ubuntu does include xchm which does have a nice gtk2 interface now, but lack some of the searching feature that you get in Windows.

    Gnochm (http://gnochm.sourceforge.net/) has some really nice features for viewing chm files. I have made the needed .deb files for Ubuntu Breezy.

    1. Get Files
    Code:
    wget -c http://mikesplanet.net/deb/gnochm_0.9.6-1~breezy_all.deb
    wget -c http://mikesplanet.net/deb/python-chm_0.8.2-3~breezy_i386.deb
    2. Install chmlib
    Code:
    apt-get install chmlib
    3. Install deb files
    Code:
    sudo dpkg -i python-chm_0.8.2-3~breezy_i386.deb gnochm_0.9.6-1~breezy_all.deb
    Please note: While compiling gnochm, Ubuntu told me that python-chm was superseded by another deb file in the Ubuntu repos, but I could not figure out which one.

    Let me know if you encounter any problems.
    Mike
    Last edited by Technoviking; November 8th, 2005 at 11:43 PM. Reason: Added Prefix
    Mike: "The hardest questions in life are the ones worth answering"
    E-Mail | Blog | Gmail | technoviking on irc.freenode.net, identi.ca , and Twitter

  2. #2

    Re: Howto: GnoCHM, a nicer way to view chm files

    Awesome thanks for this. No problems with this HOWTO, thanks.

  3. #3
    Join Date
    Sep 2005
    Beans
    71
    Distro
    Ubuntu Breezy 5.10

    Re: Howto: GnoCHM, a nicer way to view chm files

    great stuff, been trying to get this working properly from an old howto and not getting anywhere, thanks for the .debs

  4. #4
    Join Date
    Jul 2005
    Location
    Athens - Greece
    Beans
    22
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Howto: GnoCHM, a nicer way to view chm files

    Thanks Mike for debs.... Very good HOWTO.....

  5. #5
    Join Date
    Sep 2005
    Location
    Sofia, Bulgaria
    Beans
    41
    Distro
    Ubuntu Breezy 5.10

    Re: Howto: GnoCHM, a nicer way to view chm files

    great ! thank you !

    it's really nicer than xchm

  6. #6
    Join Date
    Aug 2005
    Location
    Lima - Peru
    Beans
    200
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Howto: GnoCHM, a nicer way to view chm files

    Hello,

    I found xchm in Breezy in this location:

    Add programs>Graphics>More programs...

  7. #7
    Join Date
    Oct 2005
    Beans
    1
    Distro
    Ubuntu Breezy 5.10

    Re: Howto: GnoCHM, a nicer way to view chm files

    Great FAQ, much appriecated.

    As requested you said to post any problems, and I didn't have any.

    Thanks again.

  8. #8
    Join Date
    Sep 2005
    Location
    Moscow, Russia
    Beans
    9
    Distro
    Ubuntu 6.06

    Re: Howto: GnoCHM, a nicer way to view chm files

    Cannot open chm with cyrillic content (cp1251), got this error:
    Code:
    Traceback (most recent call last):
      File "/usr/bin/gnochm", line 1861, in ?
        inst.open_file(args[i])
      File "/usr/bin/gnochm", line 1410, in open_file
        if self.request_file(self.chmfiles[-1].chmfile.home):
      File "/usr/bin/gnochm", line 1279, in request_file
        f, pathname, flink = self.internal_request_file(link)
      File "/usr/bin/gnochm", line 1273, in internal_request_file
        f, pathname = self.resolve_link(flink)
      File "/usr/bin/gnochm", line 1256, in resolve_link
        return func(link, internal)
      File "/usr/bin/gnochm", line 1174, in open_chm
        result, ui = self.chmfiles[-1].chmfile.ResolveObject(pathname)
      File "/usr/lib/python2.4/site-packages/chm/chm.py", line 390, in ResolveObject    return chmlib.chm_resolve_object(self.file, path)
    TypeError: chm_resolve_object() argument 2 must be string without null bytes, not str
    English chms opens with no errors.
    Default locale is en_US.UTF-8.

  9. #9
    Join Date
    Dec 2004
    Location
    Utah, USA
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Howto: GnoCHM, a nicer way to view chm files

    Quote Originally Posted by StormBlast
    Cannot open chm with cyrillic content (cp1251),

    English chms opens with no errors.
    Default locale is en_US.UTF-8.
    I will check into this.

    Mike
    Mike: "The hardest questions in life are the ones worth answering"
    E-Mail | Blog | Gmail | technoviking on irc.freenode.net, identi.ca , and Twitter

  10. #10
    Join Date
    Aug 2005
    Location
    North of the Artic
    Beans
    85
    Distro
    Ubuntu Intrepid Ibex (testing)

    Re: Howto: GnoCHM, a nicer way to view chm files

    Thanks, works a treat

    -

    Ounas
    I forgot that love existed - Van Morrison

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •