Slackware Compiz Fusion HOWTO

Stand: 2007-11-24

mfg Gernot

Inhalt


Benötigte Pakete

LinuxPackages

compiz-0.5.4-i486-1bmg.tgz
compizconfig-gconf-0.5.2-i486-1bmg.tgz
compizconfig-kconfig-0.5.2-1bmg.tgz
compizconfigpython-0.5.2-i486-1bmg.tgz
compizextraplugins-0.5.2-i486-1bmg.tgz
compizmainplugins-0.5.2-i486-1bmg.tgz
libcompizconfig-0.5.2-i486-1bmg.tgz

removepkg compiz
installpkg *.tgz


X Konfiguration

/etc/X11/xorg.conf

[...]
Section "Device"
[...]
    Option "RenderAccel" "true"
    Option "AllowGLXWithComposite" "true"
EndSection
[...]
Section "Screen"
[...]
    Option "AddARGBGLXVisuals" "true"
    Option "DisableGLXRootClipping" "true"
EndSection
[...]
Section "DRI"
    Mode 0666
EndSection
[...]
Section "Extensions"
    Option "Composite" "Enable"
EndSection
[...]

Scripts

Start with NVIDIA

~/.kde/startcompiz.sh

#!/bin/sh
compiz --replace png svg decoration wobbly fade minimize cube cubereflex switcher shift move resize place rotate zoom scale &
kde-window-decorator --replace &

chmod +x ~/.kde/startcompiz.sh

Start with ATI

~/.kde/startcompiz.sh

#!/bin/sh
LIBGL_ALWAYS_INDIRECT=1 compiz --replace png svg decoration wobbly fade minimize cube switcher move resize place rotate zoom scale &
kde-window-decorator --replace &

chmod +x ~/.kde/startcompiz.sh

Stop Compiz

~/.kde/stopcompiz.sh

#!/bin/sh
killall compiz
kwin --replace &

chmod +x ~/.kde/stopcompiz.sh

Autostart

~/.kde/env/compizwm.sh

#!/bin/sh
KDEWM=$HOME/.kde/startcompiz.sh
export KDEWM

chmod +x ~/.kde/env/compizwm.sh


CompizConfig Settings Manager

LinuxPackages

~/.kde/startcompiz.sh

#!/bin/sh
compiz --replace kconfig &
kde-window-decorator --replace &

ccsm