Skip to main content

HOWTO: Compiz Fusion in Fedora 8 'Werewolf'

Fedora 8 'Werewolf' is just around the corner HERE!!. Lets get this started!

This guide applies for Fedora 9 'Sulphur' too

CCSM should be in the updates repository already. If it havent, take it here ccsm-0.6.0-3.fc8.noarch.rpm


NOTE: This howto assumes that compiz is already able to run on you hardware. If not, you might google for howto for that first. For NVidia users, install the Livna repositories an yum for kmod-nvidia and reboot. For ATI users, if your card is older than Radeon 9600, it should work out-of-the-box, if not, you will need to wait until ATI releases a new driver for kernel 2.6.23 and yum for kmod-fglrx from Livna after it has been released. Intel user (like me) cheer to yourself as it works out-of-the-box.

Compiz & Compiz Fusion in Fedora 8

Fedora 8 includes Compiz 0.6.2 on its release. However, Compiz Fusion packages are not included together in the default installation due to several reasons (one of it was libcompizconfig, ccsm, compizconfig-python packages got approved quite late) . Nevertheless, Compiz Fusion components are all available in the repositories and you can install it easily (though some work had to be done manually if you want to configure compiz using CCSM and start it properly on boot)

Getting the core bits

First, you will need to get the compiz-fusion plugins installed in your computer. The packages can be acquired easily through YUM.

yum install compiz-fusion compiz-fusion-extras

If you are using GNOME and would want to use a desktop-specific tool to configure compiz, you might want to install the GConf schemas from the -gnome packages

yum install compiz-fusion-gnome compiz-fusion-extras-gnome

With those packages installed, you now basically have Compiz Fusion in your computer and you can use the plugins if you know how to enable them. Compiz in Fedora, however, uses 'glib gconf' as its configuration backend, therefore, if you want to enable the plugins, you will had to run gconf-editor and edit the plugins configurations manually there.

Installing & configuring Compiz to use Libcompizconfig

CCSM is an easy to use configurator for Compiz by the Compiz Fusion project. However, if you want to make use of CCSM, you will need to configure compiz to make use of Libcompizconfig configuration backend instead of the desktop-specific GConf backend.

First, install libcompizconfig, ccsm and the launcher for compiz called compiz-manager. Compiz-manager is a launcher for compiz which will load compiz with 'ccp' plugin if libcompizconfig is installed in a computer, and will load 'glib gconf' if its not.

yum install libcompizconfig ccsm compiz-manager

Now, start compiz using compiz-manager
compiz-manager

Compiz is now ready to be use with CCSM. You can launch CCSM at System > Preferences > Look and Feel > CompizConfig Settings Manager.

Setting up compiz to run on startup

Add compiz-manager into your startup applications list. For GNOME users, System > Preferences > Personal > Sessions > Startup Programs.

P/s: Another method for GNOME is below, but i think this way is ugly and will require redo with every update of gnome-session package.

For GNOME users, first, enable compiz through the desktop-effects utility at System > Preferences > Look and Feel > Desktop Effects.

Then, edit /usr/bin/gnome-wm, scroll down until you find a line that looks like this

OPT3=glib
OPT4=gconf


Change those two lines to

OPT3=ccp
OPT4=""


Logout.

After you login back to your session, compiz is now loaded with 'ccp' at startup instead of 'glib gconf'. So you can use Compiz Fusion with ease.

For KDE users, I don't have any KDE installation around so I am not really sure what to do. Anyway, just add compiz-manager in the startup application list, and I believe that is enough to get it working.


Update: Fusion icon is now in Fedora repository,
yum install fusion-icon-gtk
or
yum install fusion-icon-qt
to get it

Update 2008/05/15: Another way to set compiz-fusion to start on boot
Just run this as user.
gconftool-2 --set --type string \
/apps/gnome-session/rh/window_manager \
"compiz --indirect-rendering ccp"


Enjoy!!
7 comments

Popular posts from this blog

Consolidated community site infrastructure on Plone

In Inigo, we believe in helping out local FOSS communities and help them grow. We help out in community events where we can, present FOSS talks, and provide some platforms for local communities to grow. One of such platform is our consolidated community site infrastructure on Plone.

The system/infra and its components was originally developed for the Fedora Malaysia website, while keeping in mind to keep it generic enough so that other communities could use the same components for their own community sites. The infra is already at a usable state, and we can add new sites easily with just a few clicks.

Features in this consolidated infra are:
Document/Content management (Plone built-in)Calendar system (powered by solgema.fullcalendar addon)Conference/BarCamp system (powered by collective.conference addon, which was developed for FUDCon Kuala Lumpur 2012)Blog (powered by Products.Scrawl)Simple yet powerful theming engine (powered by plone.app.theming/ Diazo) - Check out Diazo, you'l…

HOWTO: Mirroring Yum repositories using Yum-Utils

As promised before in one of my previous post, a Howto on how to mirror and manage yum repositories using some of the utilities in yum-utils.

The first step is, well, of course, is to get yum-utils from fedora repository
yum install yum-utils

Reposync
Reposync is a utility for mirroring and synchronizing local copy of a yum/rpmmetadata repository.

This utility is very useful if you wanted to make a yum repository mirror. Before this, I used "wget -R -np -N" but this method is a little bit tedious and it doesnt work with repos that didn't use directory listing. Plus, it also download together additional site stuff that I don't need/want and it doesn't verify checksum of the downloaded packages.

Mirroring a repo using this utility is easy, just execute this command
reposync -r <repoid> -a <arch> -n
and the repo will be mirrored in a folder with the same name of the repoid in the directory you executed the command. Eg: you executed the command in /mnt/storage/mi…

Adding simple popup to Plone frontpage

Here is a little guide for those who want to add a simple popup to the Plone frontpage for some purpose (eg: announcements, advertisements, etc).

Create a basic html file containing the content you want to appear in the popup. Upload it into $PLONE_SITE/portal_skins/custom (as Page Template) and for the sake of this example, name it popup.html

Afterward, create a Javascript file with your Pop-Up loader script. For example , this script:


function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=220,height=400,scrollbars=no');
return false;
};

popup('popup.html', 'My Popup');


Also upload this file into $PLONE_SITE/portal_skins/custom (as Page Template too). For this example, name it as popup.js

Afterward, in $PLONE_SITE/portal_javascripts , add popup.js as a new script into portal_javascripts…