The Google search led me down the wrong path, so here is the gist of it:
Install chm2pdf, which is in the repositories starting with Ubuntu 8.04
sudo apt-get install chm2pdf
Get help with
Convert with for example (all three “dashes” are double dashes half eaten by WordPress):
chm2pdf –continuous –no-links –quiet input_file.chm
The input file name should not contain any special characters or spaces, otherwise you might get all kinds of “File not found” errors, regarding for example urlslist.txt and other files. So rename your input file accordingly.
This process is far easier than working extract_chmLib and htmldoc.
The messages “Folder org already exists in …” and “Too many open files” when using Netbeans are likely related. The underlying error might be that Linux runs out of file descriptors, which can happen rather quickly when you open many projects at once. Here’s the solution.
The file descriptors can be set at the system level and at the shell level:
Check how many your system allows:
This value can be set to a high number, probably to several 100k without major issues. For now you might try:
echo “65536″ >/proc/sys/fs/file-max
You could also add
fs.file-max = 65536
to reload sysctl.conf
For the shell type
to get the number of file descriptors.
You can set for example
* soft nofile 8192
* hard nofile 8192
to increase the number.
After increasing these values I have not had any issues with Netbeans as described above for several months now. Hope it helps.
Powered by Bilbo Blogger
Always looking for a better blog editor for Linux, I just installed Bilbo (recently rename Blogilo for copyright issues). I had some trouble following the process here and getting the Ubuntu packages installed on Linux Mint 6, which you might run into on Ubuntu Intrepid. Manually installing according to this guide also failed. I got ‘class BilboPost’ has no member named ‘setSlug’ upun build among other issues.
So I proceeded like this:
sudo apt-get install kdelibs5-dev kdepimlibs5-dev libboost-dev libqt4-sql-sqlite
Get the source from http://www.ohloh.net/p/bilbo/download?filename=bilbo-1.0-src.tar.gz&projects_id=bilbo
sudo tar -xzvf bilbo-1.0-src.tar.gz
Then just follow the steps from the readme:
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config –prefix` ..
sudo make install OR su -c ‘make install’
Then I had to manually install the bilbo.desktop file for some reason, so in the directory where you unpacked bilbo:
sudo desktop-file-install bilbo.desktop
Not sure yet whether bilbo/blogilo is really the ultimate blog client for Linux, but so far it seems stable and feature rich and I’ll retire my Blogjet app for now, the HTML it created was somewhat horrible, with FONT tags and such.
Powered by Bilbo Blogger