Okay, okay, yup, it is a series now. Part two is here!
Browsing available Ubuntu apps one can find a lot of interesting software. One of them is kchmviewer. Its purpose is to view CHM files – outdated, but still relevant Windows Help files.
Interestingly, one can set up an alternative program to View HTML in this program:
Once this is setup, when you open a CHM file on an Ubuntu OS and hit View HTML button:
your program of choice will be executed (but it may not be visible on UI) :
ps -afx | grep calc
13916 pts/0 S+ 0:00 | _ grep --color=auto calc
13903 ? Sl 0:00 _ /usr/bin/gnome-calculator /tmp/kchmviewer.qpoDLl
It’s a really horrible and desperate persistence mechanism, but we have to document it all, right?