It's been a long time coming... I've finally got Konqueror working well enough to uninstall Firefox. The problem has been KHTML, which has big problems rendering modern web content with heavy scripting. Fortunately a team of developers has been working on creating a webkit rendering engine as a modular Kpart for Konqueror. Kwebkit will probably be included with KDE 4.6, but for the moment it's something you have to install yourself. Here's what I did.
First of all, these steps were all performed on a -current64 box with Alien Bob's KDE 4.5.3 package (
http://alien.slackbook.org/ktown/4.5.3/) installed. I started out by installing kwebkitpart using the package available here:
http://slackbuilds.org/repository/13...s/kwebkitpart/
At this point you can use kwebkit by launching Konqueror, going into View > View Mode and selecting Kwebkit. Trouble is, it's not going to be stable... Konqueror will crash constantly. In order to achieve stability you have to install QT4.7 or higher.
You can get the latest QT (4.7.1) here:
http://qt.nokia.com/downloads/
You don't need the complete development environment; just get the framework. I'm assuming here that you have the Slackware source tree somewhere on your hard drive (mine is in /opt). You'll find QT in the /l directory. Save the existing source code somewhere else and put the code you just downloaded in it's place. Because the new source code has a different name you'll have to modify the script accordingly. I modified this line:
Code:
if [ -r $CWD/qt-$VERSION.tar.gz ]; then
tar xvf $CWD/qt-$VERSION.tar.gz || exit 1
To:
Code:
if [ -r $CWD/qt-$VERSION-opensource-src-4.7.1.tar.gz ]; then
tar xvf $CWD/qt-$VERSION-opensource-src-4.7.1.tar.gz || exit 1
And:
Code:
cd qt-$VERSION || exit 1
To:
Code:
cd qt-$VERSION-opensource-src-4.7.1 || exit 1
By the way, I dropped into init 1 before performing the build:
I'm not sure that's really necessary, but I like to do that before doing anything that directly affects the GUI. Anyway, I then just ran the Slackbuild:
It took a long time. After it builds you can go into pkgtool and uninstall the previous version of qt. Then reboot your box. I rebooted into init 3 so I'd have a working terminal if something went wrong with the new version of qt. But no prob; I booted into the terminal, logged in, startx and no sweat.
You can now follow the procedure I outlined above to enable Kwebkit, but KHTML is still the default and will be reverted to every time you restart Konqueror, or even open a new tab! No good. You want to make Kwebkit the default.
Go back into your terminal (as your regular user) and enter the following:
Code:
keditfiletype text/html
Then in the resulting window click the Embedding tab and move WebKit to the top of the list. Hopefully they'll come up with a more user-friendly way to get into that menu for KDE 4.6.
Now restart Konqueror and voila! That should be it. I've been using it since yesterday and have had no issues with stability, and all the old rendering problems are gone (okay, there's still room for refinement, but it's 99% there). Better yet, performance is HUGELY improved (and Konqueror is faster than Firefox to begin with). So rendering is excellent, desktop integration is 100%, performance is superb... what more could you ask for?
Thanks to Grapefruitgirl for helping me get qt installed, and thanks to the kwebkit dev team for getting this together for us!