Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Desktop Effects & Customization
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Desktop Effects & Customization
This section is for all your compositing needs. This includes Beryl, Compiz, xcompmgr, and other fancy apps which take advantage of compositing managers such as kiba-dock and avant window decorator

 
Thread Tools Display Modes
Old June 30th, 2007   #1
Mr Greencastle
A Carafe of Ubuntu
 
Mr Greencastle's Avatar
 
Join Date: Apr 2007
Location: Alberta, Canada
Beans: 144
Ubuntu 7.10 Gutsy Gibbon
How To : Compiz Fusion for ATI cards + Xgl in Feisty

Edit: Forgot to mark this as a HOWTO, and I don't know how to change it, so...
Edit 2: Hey guys, long time no talk, I've been quite busy with my personal life, school etc, so I haven't been here in awhile.

Anyways, I'm in the midst of updating this guide, so I should have a new one that has instructions for Gutsy aswell (Using same hardware).

Mr Green.



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!


Mr Green
__________________
- Ubuntu 7.10 Gutsy Gibbon - Acer Aspire 5100- AMD Turion64 x2 @ 1.88Ghz - 1024 MB RAM - ATI/AMD Radeon Xpress 1100 @ 128 MB - 160 GB HDD - 15.4" Widescreen LCD Display
(Thinking about purchasing a Dell desktop with Ubuntu...)

Last edited by Mr Greencastle; October 22nd, 2007 at 09:39 PM..
Mr Greencastle is offline   Reply With Quote
Old July 1st, 2007   #2
LouisvilleLIP
Just Give Me the Beans!
 
Join Date: May 2007
Location: Louisville, KY
Beans: 61
Ubuntu 7.04 Feisty Fawn
Re: Compiz Fusion for ATI cards + Xgl in Feisty

You rule. My compiz fusion broke, and I couldn't get it fixed. I removed the cf/emerald packages, followed this, and it's back. Thanks for posting.
LouisvilleLIP is offline   Reply With Quote
Old July 4th, 2007   #3
jw5801
Dark Roasted Ubuntu
 
jw5801's Avatar
 
Join Date: Jun 2007
Location: Melbourne, Australia
Beans: 1,168
Send a message via MSN to jw5801
Re: Compiz Fusion for ATI cards + Xgl in Feisty

Great how-to! Needed XGL to get Avant Window Manager working and this did it.
jw5801 is offline   Reply With Quote
Old July 4th, 2007   #4
jamesey
A Carafe of Ubuntu
 
Join Date: May 2007
Beans: 147
Re: Compiz Fusion for ATI cards + Xgl in Feisty

wow! this really made my desktop smooth. I was skeptical because before enabling the restricted drivers that I didn't know about the whole ubuntu experiece was a little clunky. suddenly it's way smooth and I have wobbly windows, a cube, and a dock (AWM.)
jamesey is offline   Reply With Quote
Old July 4th, 2007   #5
jimminy_kriket
Just Give Me the Beans!
 
Join Date: Aug 2006
Beans: 66
Re: Compiz Fusion for ATI cards + Xgl in Feisty

Does anyone know how to do this in xubuntu? A guide would be much appreciated.
jimminy_kriket is offline   Reply With Quote
Old July 4th, 2007   #6
cor2y
Skinny Soy Caramel Ubuntu
 
cor2y's Avatar
 
Join Date: Dec 2005
Beans: 658
Ubuntu 9.10 Karmic Koala
Re: Compiz Fusion for ATI cards + Xgl in Feisty

It works somewhat on my system although i thought it wasn't working because it took compiz fusion a while to load.
Also Emerald Themes do not work for me i can't switch to a new theme.
I don't know why.
cor2y is offline   Reply With Quote
Old July 5th, 2007   #7
bodhi.zazen
Ubuntu Guru
 
bodhi.zazen's Avatar
 
Join Date: Apr 2006
Location: Montana
My beans are hidden!
Xubuntu Development Release
Send a message via Yahoo to bodhi.zazen
Thumbs down Re: How To : Compiz Fusion for ATI cards + Xgl in Feisty

Quote:
Originally Posted by Mr Greencastle View Post
Edit: Forgot to mark this as a HOWTO, and I don't know how to change it, so...
Title changed. Feel free to PM a mod if you need help. Feel free to PM me if you want the title further adjusted.
__________________
A person with ubuntu is open and available to others, affirming of others, does not feel threatened that others are able and good, for he or she has a proper self-assurance that comes from knowing that he or she belongs in a greater whole and is diminished when others are humiliated or diminished, when others are tortured or oppressed. ~ Archbishop Desmond Tutu, 1999

bodhi.zazen is offline   Reply With Quote
Old July 5th, 2007   #8
adityavpratap
5 Cups of Ubuntu
 
Join Date: Jun 2007
Beans: 15
Re: How To : Compiz Fusion for ATI cards + Xgl in Feisty

Hi Mr. Greencastle!
I have followed your instructions and have succeeded in installing Compiz Fusion on my laptop, which is same as yours, except for the RAM which is 512 MB.
Most of the effects are working except the cube. When I pres Ctrl + Alt + Button 1 nothing happens. Any idea what may be the reason for this. Could it be the RAM?
__________________
Aditya Pratap V.

"Strength does not come from physical capacity. It comes from an indomitable will" - Mahatma Gandhi
adityavpratap is offline   Reply With Quote
Old July 6th, 2007   #9
cor2y
Skinny Soy Caramel Ubuntu
 
cor2y's Avatar
 
Join Date: Dec 2005
Beans: 658
Ubuntu 9.10 Karmic Koala
Re: How To : Compiz Fusion for ATI cards + Xgl in Feisty

to get the rotating cube you need to enable that plugin as well as the 3d desktop cube one.
cor2y is offline   Reply With Quote
Old July 7th, 2007   #10
adityavpratap
5 Cups of Ubuntu
 
Join Date: Jun 2007
Beans: 15
Re: How To : Compiz Fusion for ATI cards + Xgl in Feisty

Pardon my ignorance, but I have enabled the rotate cube plugin in the CompizConfig Settings Manager, did the same with the 3d cube one as well, still I am not getting the effect.
__________________
Aditya Pratap V.

"Strength does not come from physical capacity. It comes from an indomitable will" - Mahatma Gandhi
adityavpratap is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:34 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry