Install Compiz on Fedora 12

Installing Compiz on Fedora 12 is not easy. First of all, due to compatibility issues with nouveau driver, additional steps are required to install and configure nvidia 3D driver. After resolving 3D driver issue, you need to modify Compiz configuration file so that your settings are captured. The installation procedure is the same for 32-bit/64-bit Fedora 12.

Note: The following procedure is to install Compiz on Fedora 12 in a normal PC environment using Nvidia graphics card. For installing Compiz on a Fedora 12 guest machine in VirtualBox, please check the instruction at the end of this post.

Installing Proprietary Nvidia Driver

Important: This procedure involves in modifying the kernel. You need to reboot the PC if you have just updated your kernel before starting this procedure.

Open a terminal with root access. Then proceed with the following command:

  • #yum install kmod-nvidia xorg-x11-drv-nvidia

After installing the drivers, you need to change some security setting on SELinux:

  • #setsebool -P allow_execstack on

Then you need to perform the following to disabled nouveau driver:

  • #mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
  • #dracut /boot/initramfs-$(uname -r).img $(uname -r)

Important: Reboot your PC since kernel has been modified. Ensure that the Nvidia driver is working properly

Additional Note: You need to repeat the above procedure every time a new kernel is being updated.

Installing Compiz

Issue the following command to install Compiz:

  • #yum install emerald-themes compiz-fusion-extras emerald compiz-fusion compiz-manager compiz-fusion-extras-gnome gnome-compiz-manager libcompizconfig compiz-fusion-gnome ccsm

Configuring Compiz

You can change the settings using CompizConfig Settings Manager (ccsm) under System >> Preference. However, due to some bug, the changes in ccsm will not affect the system. To rectify this problem you need to change the script file for Compiz in /usr/bin/compiz-gtk

Once you open this file, change the following line from:

  • exec compiz –ignore-desktop-hints glib gconf gnomecompat $@


  • exec compiz –ignore-desktop-hints glib gconf gnomecompat ccp $@

Enabling, Configuring and Using Compiz

You enabled Compiz by select System >> Preference >> Desktop Effect. Choose Compiz.

You can change the effects using System >> Preference >> CompizConfig Settings Manager

To rotate the Window Cube, press Ctrl+Alt and simultaneously use your mouse to rotate the window.

Installing Compiz on Fedora 12 Guest Machine in VirtualBox

Since VirtualBox supports 3D acceleration, you need to perform the following:

  1. In Fedora 12 vritual machine settings, set the display RAM to the maximum (128MB) and checked “Enable 3D Acceleration”
  2. Install Linux Guest Addition: For instructions, please refer to my post Fedora 12 Software Installation and Configuration Guide and look for the section Installing VirtualBox.
  3. Follow the steps in the section above: Installing Compiz
  4. Follow the steps in the section above: Configuring Compiz
  5. Follow the steps in the section above: Enabling, Configuring and Using Compiz



Comments are closed.

%d bloggers like this: