Installation
First we install compiz-fusion with:
Then we backup our
xorg.conf with:
Next step is to edit the
xorg.conf-file.
In
Screen-Section:
Under Section "Module", make sure that the following lines are included, and add them if they are not:
If there is no
Option "XAANoOffscreenPixmaps". Add it to the
Device-Section:
Code | [In neuem Fenster öffnen] |
|
Section "Device" ## no change
Identifier ##no change
Driver ##no change,whatever this reads is fine
Option "XAANoOffscreenPixmaps" ## add this line!!!!
Screen 0 ##no chnge
EndSection |
Tip:
For an Nvidia card:
(I needed to add Option "AddARGBGLXVisuals" "True" to the Device section as well, otherwise I got "no GLXFBConfig for depth 32" errors. This is on a GeForce4 MX 440, also needed on GeForce FX 5600).
And finally, add the following to the bottom of the file, unless it already exists elsewhere:
Then restart your X-Server with CTRL+ALT+BACKSPACE
If there is any error restore your Xorg.conf with:
If there wasn't an error you can start compiz-fusion with:
Configuration
We will need to create two new files: A startup script and an X session file.
To create the session shell script, open up your favourite text editor (eg gedit) as Root and create a new script named
startcompiz-fusion.sh:
Now enter followed lines and save the file:
Alternatively, the last line can read
Now you need to make the script executable:
To create the session, create the file
/usr/share/xsessions/compiz-fusion.desktop, and give it the following contents in a text editor (again, as root):
Code | [In neuem Fenster öffnen] |
|
[Desktop Entry]
Encoding=UTF-8
Name=Beryl
Exec=/usr/bin/startcompiz-fusion.sh
Icon=
Type=Application |
Now when GDM starts, you should have a session called Beryl available for selection; if you log into this session, compiz-fusion will run (via the startcompiz-fusion.sh script) and load GNOME for you. Logging into your normal session will give you a standard, un-accelerated desktop for troubleshooting or running programs which don't play nicely with AIGLX.