Compiz Fusion From openSUSE

Installation

[edit]

openSUSE 10.3

In openSUSE 10.3 all our Compiz Fusion installing will be done using One-Click-Install. This provides a simple wizard to guide you through everything.

If you are using the KDE Desktop Environment:
compiz-fusion-kde.ymp

If you are using the GNOME Desktop Environment:
compiz-fusion-gnome.ymp

[edit]

openSUSE 10.2

If you are using the KDE Desktop Environment:
Run the following commands as root (You need to be connected to the internet):
zypper sa http://download.opensuse.org/repositories/X11:/XGL/openSUSE_10.2/ xgl
zypper in compiz-fusion-kde

If you are using the GNOME Desktop Environment:
Run the following commands as root (You need to be connected to the internet):
zypper sa http://download.opensuse.org/repositories/X11:/XGL/openSUSE_10.2/ xgl
zypper in compiz-fusion-gnome

 

[edit]

Enable/Disable XGL

[edit]

Enable

Image:Shellscript.png Run the following command as root (works for both KDE and GNOME):
 gnome-xgl-switch --enable-xgl

After that reboot or run as root:

rcxdm restart

[edit]

Disable

Should you wish to return to more well-tested and well-integrated 2D environment just run this command as root (works for KDE and GNOME).

Image:Shellscript.png Run the following command as root (works for both KDE and GNOME):
 gnome-xgl-switch --disable-xgl

After that reboot or run as root:

rcxdm restart

 

[edit]

Configuration

[edit]

Auto Start

If you are using the KDE Desktop Environment:
In openSUSE 10.21. Create a file called kde-start-compiz in /home/<user>/bin/2. In that file put the following command:
compiz ccp &

3. Make kde-start-compiz executable. (Right click -> Properties -> Permissions)

Whenever XGL is enabled this file will be automatically executed during KDE startup.

If you are using the GNOME Desktop Environment:
In openSUSE 10.2, change the lines in /opt/gnome/bin/gnome-wm (or /usr/bin/gnome-wm in openSUSE 10.3) that launches compiz, remove gconf from those lines and put ccp instead.They should read something like this:
exec /usr/bin/compiz --replace --sm-disable ccp
exec /usr/bin/compiz --replace --sm-client-id $SMID ccp

[edit]

Plugins and Decorator Configuration

Use compizconfig-settings-manager, a GUI plugin configuration tool. It can be launched with the command ccsm or find it in your menu under Utillities -> Desktop.

Add your preferred window decorator command under ‘decoration’ plugin. Depending on what packages you have installed, the decorator commands available are :

If you are using the GNOME Desktop Environment:
gtk-window-decorator --replace

If you are using the KDE Desktop Environment:
kde-window-decorator --replace

Or if you just want to use emerald (beryl’s window decorator), then:

emerald --replace

Use emerald-theme-manager to change the window decoration if using emerald decorator.