PDA

View Full Version : Moving From Beryl


SmSpillaz
August 13th, 2007, 03:38 PM
Hello Beryl Users!

Below is a quick guide to help you move your Beryl installation to Compiz Fusion.

Step 1 : Removing Beryl

Because you will be using Compiz Fusion as your main window manager from now on, you probably want to get rid of Beryl to remove any possible conflicts and save some disk space too.

If you installed via a package manager, such as:
Smart / Zen / YaST for openSUSE
Yum / Whatever YUM frontends there are for Fedora
Synaptic on Debian and Ubuntu

Just find those packages and uncheck them to uninstall them. For more information, refer to your packagers setup instructions.

The packages are usually named: aquamarine, bcop, beryl-core, beryl-manager, beryl-plugins, beryl-settings, beryl-settings-bindings, emerald, heliodor, and emerald-themes.

Step 2: Removing autostarts

If you had set Beryl to automatically start when you log in, we don't want your system to be looking for something that does not exist, so you want to remove Beryl from your autostart list.

GNOME:

Usually, you would have added Beryl, or Beryl-manager to your list of startup programs. To undo this, go to your control center, click on 'Sessions', then click on the tab 'Startup Programs' and delete any entries like 'beryl', 'beryl-manager' or 'emerald'

KDE:

If you are starting Beryl from a shortcut in your ~/.kde/Autostart directory or a script in your ~/.kde/env directory, please remove it now.

If you have modified the KDEWM variable in your startkde script (run this on a console to find it: which kde), change it back to "kwin", or change it to a script that starts Compiz Fusion.

Step 3: Installing Compiz Fusion

Now you want to install Compiz Fusion. To do this you have three options.

The easiest is to install from your distributions pacakges.

Ubuntu users should use Trevino's repository to install Compiz Fusion. Instructions for installing from Trevino's repository can be found here
http://forum.compiz-fusion.org/showthread.php?t=1012

openSUSE users should used Cyberorg's repository to install Compiz Fusion. Instructions can be found here
http://forum.compiz-fusion.org/showthread.php?t=1415

Fedora users should use the Fedora Repository. Instructions can be found here
http://forum.compiz-fusion.org/showthread.php?t=2195

Another way to install is to build the release tarballs found here (http://releases.compiz-fusion.org/0.5.2/)

The final way to install, which is not recommended, is to use the git repository to install Compiz Fusion. To do this, you need to install 'git', then do this:
git clone git://git.opencompositing.org/users/kristian/compiz-scripts
cd compiz-scripts
./get-git
That will fetch and intall most of the development version software from our git repository. Note that these packages will probably not work, due to an xcb dependency added to compiz-core a few days ago, so compiz will fail to start on most distributions.

Step 4: Launching Compiz Fusion

Because Compiz Fusion has no in-built wrapper to detect configuration like beryl does, we recommend using the compiz-manager script installed with Compiz Fusion. To use it, launch with 'compiz-manager.' This will automatically detect your graphics card and settings to give you the best Compiz-Fusion experience. If you don't want to use the script, there are different methods for starting Compiz.

Intel with Xgl:
INTEL_BATCH=1 compiz --replace ccp&

Intel with AiGLX:
INTEL_BATCH=1 LIBGL_ALWAYS_INDIRECT=1 compiz --replace --indirect-rendering ccp&

ATI and nVidia with Xgl:
compiz --replace ccp&

ATI with AiGLX:
LIBGL_ALWAYS_INDIRECT=1 compiz --replace

nVidia with NVIDIA Drivers with FBO's but possible black-window-bug:
__GL_YIELD=NOTHING compiz --replace ccp&

nVidia with NVIDIA Drivers with potentially high CPU-Usage, but without the black-window-bug:
__GL_YIELD=NOTHING compiz --replace --indirect-rendering ccp&
(Please note that not all hardware and configurations will be stable with --indirect-rendering. If Compiz freezes at start up, you'll have to start it without --indirect-rendering.)

Step 5: Autostarting

GNOME:

Go to your control center, click on 'Sessions', then click on the tab 'Startup Programs' and add 'compiz-manager' or your startup script

KDE:

Create a new text file called ~/.kde/Autostart/CompizFusion.desktop and paste the following into it:
[Desktop Entry]
Comment=
Comment[fr]=
Encoding=UTF-8
Exec=compiz-manager
GenericName=
GenericName[fr]=
Icon=
MimeType=
Name=
Name[fr]=
Path=
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=none
X-KDE-SubstituteUID=false
X-KDE-Username=
X-KDE-autostart-after=kdesktop

Thats it. If you have any trouble moving from Beryl, post your troubles in this thread.

-SmSpillaz

djdoo
August 18th, 2007, 10:02 AM
Nice guide man...!!!

Really Quick and easy!!

Now for having best results with direct or indirect rendering and if you are lucky send away the black window bug for nvidia cards see the guide http://forum.compiz-fusion.org/showpost.php?p=13710&postcount=1

Also just to mention something for previously Beryl users moving to our new project:
If you have already installed the 100.14.xx nvidia drivers and using nVidia rendering method PLEASE downgrade to 9755 cause by a very high percent of possibillity you will see your system FREEZE when you try to restart, shut down, or logout which is these certains' drivers bug!
So the 100 series have 2 very annoying bugs for our situation!! And the new one is worser than the black one! It's a Blocker!
So use the 9755...
If you have an 8600-8500 card... Pray maybe?? Or wait for nVidia to fix something... But for start ONLY for 8500-8600 cards which they cannot use 9755 driver add this under your "Screen" Section at your xorg.conf

Option "DisableGLXRootClipping" "True"

No good for performance but it maybe can solve the Frozen Bug! ;)

Hope I helped a bit...