Source i (link to git-repo or to original if based on someone elses unmodified work):

https://github.com/Caig/kde-thumbnailer-chm

Original
1
Become a Fan
7.3

Available as/for:
Description:
A KDE thumbnail generator for the CHM file format. It depends on CHMlib http://www.jedrea.com/chmlib/.
Since 0.2.1 release it works with KDE Frameworks 5, for KDE 4 just keep using 0.2 stable release.

Tested with a limited set of CHM files. It should work with standard compliant documents (http://www.nongnu.org/chmspec/latest/).

Once installed go to Configure Dolphin -> General -> Previews and select CHM documents.

----

* epub? http://kde-apps.org/content/show.php/KDE+ePub+Thumbnailer?content=151210
* fb2? http://kde-apps.org/content/show.php/KDE+fb2+Thumbnailer?content=160180

Comments are welcome.
Last changelog:

0.2.1 (KF5)
-----
KF5 porting

0.2 (last KDE 4 release)
-----
An alternative strategy for some not standard CHM files
Minor improvements

0.1.3
-----
Minor improvements
Bugfixes

0.1.2
-----
Fix an issue with Kubuntu 11.10. Thanks to srog.

0.1.1
-----
Fix uppercase issue with a bad chm

0.1
-----
First release


Ratings & Comments

10 Comments

glutanimate

To anyone wondering how to resolve potential compilation errors on Kubuntu 18.04 – here are the packages I had to install to get this to work: sudo apt install extra-cmake-modules libkf5archive-dev libqt5xmlpatterns5-dev kio-dev libchm-dev libchm-bin (I also installed the epub thumbnailer recently, so some of these dependencies might not be relevant for this module, but I've added them just to be sure). @caig: Thanks again for another fantastic piece of work. But I really do hope that you can get this submitted to KDE/Kubuntu somehow.

caig

Thanks. Yes, libkf5archive-dev and libqt5xmlpatterns5-dev shouldn't be needed for this thumbnailer. I think chm is a format with a very limited use nowaday (some old documents, luckly, it's a mess).

mrbitt

Hi, please add for ARCHLINUX https://aur.archlinux.org/packages.php?ID=62071 thanks.

caig

Done, thanks a lot!

jospoortvliet_double

awesome - I've been playing with chm and this works nicely. Any chance you can get it in KDE Graphics or wherever it makes sense? ;-)

caig

I'm happy it works for you too! I'm just an user who tries to learn, the code isn't good enough for a similar chance. But I like the idea, maybe in future i'll try to understand how the proposal process works :)

nihui

some chm documents do not have cover image, but they have a html start page. it makes sense to render this html as its thumbnail, doesn't it? thanks for your work anyway :)

caig

Good point! I'll try it, in todo list for epub thumbnailer too. Thanks!

srog

Thank you - working fine with the Kubuntu 12.04. With the "older" Kubuntu (11.10) the mime type needs fixing. The last year Kubuntu model is using: application/x-chm i.e. chmthumbnail.desktop: "MimeType=application/vnd.ms-htmlhelp;application/x-chm;" --------------------------- PPA Search: https://launchpad.net/ubuntu/+ppas?name_filter=kde-thumbnailer-chm

caig

Thanks a lot, updated!

Pling
0 Affiliates
Details
license GPLv2 or later
version 0.2.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 4

More Various Plasma 5 Improvements from caig:

KDE fb2 Thumbnailer
caig
last update date: 7 years ago

Score 7.0

KDE ePub Thumbnailer
caig
last update date: 7 years ago

Score 8.1

Other Various Plasma 5 Improvements:

Blured screenshot as screenlock BG
qwe12421
last update date: 9 years ago

Score 6.5

Firefox addon for kwallet KDE5
gmolina
last update date: 9 years ago

Score 7.2

KSmoothDock
dangvd
last update date: 1 year ago

Score 7.7

ksuperkey
Mogger
last update date: 8 years ago

Score 8.5

Now Dock Plasmoid
Psifidotos
last update date: 8 years ago

Score 8.1

Now Dock
Psifidotos
last update date: 8 years ago

Score 8.3