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 online now   Reply With Quote
Old July 17th, 2007   #7
Creeture
First Cup of Ubuntu
 
Join Date: Feb 2006
Beans: 1
Re: Compiz Fusion for ATI cards + Xgl in Feisty

Quote:
Originally Posted by cor2y View Post
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.
As far as emerald themes goes, that's a pretty long-standing bug in (IIRC) GTK. I don't know why it is still broken. To fix, just bring up the Emerald Themer and a terminal window at the same time. Choose your theme in the Themer then type "emerald --replace &" in your terminal. Wash, rinse, repeat until you get the one you want.
Creeture is offline   Reply With Quote
Old August 7th, 2007   #8
haricharan
Way Too Much Ubuntu
 
haricharan's Avatar
 
Join Date: Nov 2006
Location: Woodridge, IL
Beans: 210
Ubuntu 8.04 Hardy Heron
Re: Compiz Fusion for ATI cards + Xgl in Feisty

thanks for the repo....works awesome!!!
__________________
Ubuntu User #12173
haricharan is offline   Reply With Quote
Old September 21st, 2007   #9
nystud162
5 Cups of Ubuntu
 
nystud162's Avatar
 
Join Date: Jul 2007
Location: new york
Beans: 21
Ubuntu 8.04 Hardy Heron
Send a message via AIM to nystud162 Send a message via Skype™ to nystud162
Re: Compiz Fusion for ATI cards + Xgl in Feisty

Quote:
Originally Posted by cor2y View Post
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.
Im not sure if you can do this with compiz fusion, but install beryl manager in the terminal.

I had the same problem on my Presario V2000.

Code:
sudo apt-get install beryl-manager
Press alt-F2 and run beryl manager.
if your window manager changes just switch back over to compiz by right clicking on the red diamond on the upper right hand side of your screen and going to select window manager. Then go to the emerald theme manager by right clicking on the red diamond. Then choose your theme you want to switch over to (it wont work). Then finally, right click on the red diamond again and reload the Window Decorator and your new theme should be displayed. You have to do this everytime that you want to change your theme.
nystud162 is offline   Reply With Quote
Old August 31st, 2007   #10
Magneticgravity
Gee! These Aren't Roasted!
 
Join Date: Aug 2007
Location: UK
Beans: 182
Ubuntu 7.04 Feisty Fawn
Re: Compiz Fusion for ATI cards + Xgl in Feisty

When i click on 'Restricted Drivers Manager' it says 'Your hardware does not need any restricted drivers.'

Could i use this guide instead?
http://www.howtoforge.com/ubuntu_fei...ryl_ati_radeon
Magneticgravity 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:44 AM.


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