Installing Beryl Or Compiz Fusion On A Fedora 7 Desktop - Page 2

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Sun, 2007-07-01 16:40. ::

3 Compiz Fusion

3.1 Installing Compiz Fusion

Compiz Fusion isn't available in the official Fedora 7 repositories, therefore we must use a third-party repository to install it (repo.kagesenshi.org).

To install it, we open a terminal (Applications > System Tools > Terminal) and become root by typing:

su

Then we install the third-party repository like this:

cd /etc/yum.repos.d/
wget http://devel.foss.org.my/~kagesenshi/repo/pub/kagesenshi.repo

Afterwards, we can install Compiz Fusion:

yum install compiz compiz-gnome compiz-fusion-plugins-extra

After the installation, we don't need root privileges anymore, so we go back to our normal user account in the terminal by typing:

exit

We can now start Compiz Fusion by typing:

compiz-manager &

You should now have 3D desktop effects:

3.2 Creating A Menu Entry For Compiz Fusion

Of course, you don't want to open a terminal each time you want to start Compiz Fusion. Therefore we will now create a menu entry for it (just like we had for the Beryl Manager in chapter two).

Right-click on Applications and select Edit Menus. In the menu editor, select System Tools and click on the New Item button:

A small Create Launcher window comes up. Fill in Compiz-Manager in the Name field and compiz-manager & (make sure you write it exactly as I do!) in the Command field. Leave the Type field as is; if you like, you can type in a comment in the Comment field. Click on OK afterwards:

Then close the menu editor. You should now have a launcher for Compiz Fusion in your menu (Applications > System Tools > Compiz-Manager).

3.3 Make Compiz Fusion Start Automatically

Of course, you don't want to start Compiz Fusion manually each time you log in to your desktop. Fortunately, there's a way to make it start automatically. Open a terminal (Applications > System Tools > Terminal) and become root by typing:

su

First, we create the file /usr/bin/startcompizfusion.sh:

gedit /usr/bin/startcompizfusion.sh

#!/bin/sh
compiz-manager &
sleep 4
exec gnome-session

Then we make it executable:

chmod a+x /usr/bin/startcompizfusion.sh

Afterwards, we create the file /usr/share/xsessions/Compizfusion.desktop:

gedit /usr/share/xsessions/Compizfusion.desktop

[Desktop Entry]
Encoding=UTF-8
Name=Compiz Fusion
Exec=/usr/bin/startcompizfusion.sh
Icon=
Type=Application

Then we log out of our current desktop session. On the login screen, go to Options > Select Session..., choose Compiz Fusion and click on the Change Session button. Then log in with your username and password. You will then be asked:

Do you wish to make Compiz Fusion the default for future sessions?

You can choose between Just For This Session and Make Default. If this is your first try, I recommend to select Just For This Session to see if Compiz Fusion really starts automatically. If it works, you can select Make Default at the next login.

3.4 Customize Compiz Fusion Behaviour

If you like to modify Compiz Fusion's behaviour and effects, you can go to System > Preferences > CompizConfig Settings Manager. You can then customize Compiz Fusion:

 

4 Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by matth45 (registered user) on Wed, 2007-08-15 21:33.

Thanks for writing this tutorial!  I think you left out a couple packages in the "yum" command at the begining.  You need comipzconfig-settings-manager to see the CompizConfig settings manager on the System menu.  The menu item also appears under System->Preferences->Look and Feel.  I seem to be missing compiz-manager, even though I have the following packages installed:
Installed Packagescompiz.x86_64                            0.5.1-0.11.20070720git installed       compiz-all.x86_64                        0.5.1-0.11.20070720git installed       compiz-bcop.noarch                       0.1.3-0.6.20070711git. installed       compiz-fusion-plugins-extra.x86_64       0.0.1-0.8.20070720git. installed       compiz-fusion-plugins-main.x86_64        0.0.1-0.8.20070720git. installed       compiz-gnome.x86_64                      0.5.1-0.11.20070720git installed       compiz-kde.x86_64                        0.5.1-0.11.20070720git installed       compizconfig-python.x86_64               0.0.1-0.6.20070711git. installed       compizconfig-settings-manager.noarch     0.0.1-0.8.20070720git. installed

Submitted by KageSenshi (registered user) on Sun, 2007-07-01 20:50.

First of all thanks for writing this guide :) Just a few little problems with the howto The repository has been moved to a different server http://blog.kagesenshi.org/2007/06/low-bandwidth-repository-moved.html the new .repo file is at http://devel.foss.org.my/~kagesenshi/repo/pub/kagesenshi.repo fusion-icon (formerly compiz-icon) is now working. You can launch compiz using it. (I have updated the main blog post about the changes) and btw .. the links .. core compiz site is at compiz.org .. but compiz fusion is at opencompositing.org