All pastes #676391 Raw Edit

Untitled

public text v1 · immutable
#676391 ·published 2007-08-31 00:51 UTC
rendered paste body
I'm making this guide because I have seen many people lately with problems installing Beryl or Compiz Fusion with Xgl. I have taken some parts of other guides and have also contributed my own parts, just to make things easier. (Many thanks to lamalex, as I have used that guide countless times to get Feisty boxes running Beryl)

If you follow each step carefully (mostly copy/paste), I guarantee you'll be going with desktop effects in no time!

Guide:

After installing Feisty, make sure your system is completely updated. Paste this into a terminal:

Code:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

First step is getting your drivers set up. To do this use the Restricted Driver Manager.

Code:

System >> Administration >> Restricted Drivers Manager

Enable your ATI driver (By clicking the little box) and let it do its thing. Once finished , reboot the computer and make sure fglrx loaded correctly. There should be an icon (small and green) in the notification area telling you that you have restricted modules loaded.

Now we need to install XGL.

Code:

sudo apt-get install xserver-xgl

Good now, XGL won't load on its own so we need to write a few scripts to have it start.

Code:

sudo gedit /usr/local/bin/startxgl.sh

Now copy and paste this into the file that pops up:

Code:

#!/bin/sh
Xgl :1 -fullscreen -ac -br -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec dbus-launch --exit-with-session gnome-session

SAVE THIS FILE! Once its done saving, make that fire executable (like a program) by pasting this into a terminal:

Code:

sudo chmod a+x /usr/local/bin/startxgl.sh

Now we need to make a way to start that session from your login menu, paste this into a terminal:

Code:

sudo gedit /usr/share/xsessions/xgl.desktop

And paste this into the file:

Code:

[Desktop Entry]
Encoding=UTF-8
Name=GNOME with XGL
Comment=
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application

Now make this script executable by pasting this into a terminal:

Code:

sudo chmod a+x /usr/share/xsessions/xgl.desktop

Now test your login. Logout, click sessions and chose GNOME with XGL. If you get to the desktop you're now very close.

The first thing we need to do is add the security key, do this by pasting into a terminal:

Code:

sudo wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add -

Then type in:

Code:

sudo gedit /etc/apt/sources.list

This will open a file, add this to the very bottom by pasting:
Code:

deb http://download.tuxfamily.org/3v1deb feisty eyecandy

Then save and exit.

You will need to update again, so paste into a terminal:

Code:

sudo apt-get update

BERYL
If you want Compiz Fusion - skip ahead to the Compiz Fusion section.

Now to install Beryl (and Emerald window decorator) paste this into a terminal:

Code:

sudo apt-get install beryl beryl-manager beryl-core beryl-plugins beryl-settings emerald emerald-themes

AND VOILA! Beryl is installed, to start it simply paste this into a terminal:

Code:

beryl-manager

You may need to change the window manager, do this by right-clicking the beryl icon and selecting Beryl from the 'Select Window Manager' menu.

Then you're all set! Oh and don't forget to add this to your startup:

Code:

system > preferences > sessions

Click on 'New' and type in 'Beryl' (without quotes) for the name, and for the command type: 'beryl-manager' (again without quotes)


COMPIZ FUSION
Start by pasting this into a terminal:

Code:

sudo apt-get install compiz compizconfig-settings-manager compiz-plugins compiz-gnome compiz-fusion-plugins-extra emerald emerald-themes

AND VOILA! It is installed, add this as two separate entries in the startup sessions:
Code:

System >> Preferences >> Sessions

Click 'new' and make its name: Compiz
And make its command: compiz --replace

And make one more:
Name: Emerald
Command: emerald --replace

Now just logout, then log back in, and BOOM! Shiny desktop effects!


Hope that helped!