If you read my most recent article ("Upgrading to KDE 4.3.5 and should you") you will have noticed two things: 1) I am behind by one release on my KDE updates ;-) and 2) KDE has come a long, long way since 4.2.
For the longest time one of the reasons I didn't use KDE 4 was because of how poorly it integrated with Compiz. Although many would protest that Compiz is nothing but eye candy, I would counter to say that some of the eye can actually eases productivity.
With the latest releases (I am actually upgrading to 4.4 as I pen this intro) KDE and Compiz play together quite nicely. And although KDE/Compiz has not quite reached the level of familiarity that GNOME/Compiz has, it's certainly now a viable option. In this article I am going to show you how to get KDE and Compiz working together so you can enjoy the additional features.
What you will need to install
I am going to assume you already have Compiz and KDE both installed. So what is left? In order to get KDE and Compiz working together this is one more package you have to install. Open up a terminal window and issue the command sudo apt-get install compiz-kde. This package will install the bindings for KDE and Compiz. And if you haven't already, install CCSM with the command sudo apt-get install compizconfig-settings-manager. You now have everything you need to configure KDE and Compiz together.
The first thing to do is to open up the Compiz Config Settings Manger (click <Alt>F2 and enter ccsm in the run dialog) and enable KDE. You will find this in the General section labeled KDE Compatibility. Make sure that check box is checked. You should already be able to see that Compiz is running. You can test this by minimizing a window. If the window minimizes with no effect, Compiz might not be running.
To start Compiz click <Alt>F2 and enter compiz --replace which will start up the compositor. Now minimize that window and see if there are any effects. There should be. Now you can move on to configuration.
Go back to CCSM and enable all of the Compiz settings you want to use. You might find, however, that some of the settings in CCSM do not work. This is because some of these settings, for KDE, are found in the KDE system settings panel.
Open up the System Settings tool by clicking Start > Computer > System Settings. In this new window click on Desktop. Here (see Figure 1) you will find a few hidden gems that allow you to add Compiz features to the KDE window manager.
Under the Various animations section you will see drop downs for three effects:
Effect for window switching: When you hit the configure key combination for switching windows (default is <Alt>Tab) which animation will be used.
Effect for desktop switching: Here you can enable the "famous" desktop cube.
Animation speed: The speed at which animations happen.
If you REALLY want to get into the heart of the matter, click on the Advanced tab. This is where you can go hog wild with animations. In each section you will see an enable checkbox, a description, a configure button, and an information button. For all features you want to enable, click the checkbox and then the configure button to configure the feature to your heart's content.
KDE is now on par with GNOME in both stability and integration with Compiz. Although the GNOME desktop is, in some ways, easier to integrate with Compiz, it is not the only player in the game. Give the latest iteration of KDE and Compiz a try and see what you think. I believe you will be impressed.
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.