How To: Ubuntu 7.04 + ATI + Compiz Fusion install
I have used this exact process to install compiz-fusion on my system. I have an ATI XL800 graphics card, and this how to will deliver the sexiness you have been looking for. This how to assumes you have a base install of Ubuntu 7.04. Please comment or email any questions. Some of this how was derived from my previous how to on installing Beryl + XGL on ubuntu with ATI cards, I have tweaked it and used some of the snippets from other how to threads.
ASSUMPTIONS:
Fresh Install of Feisty Fawn, Ubuntu version 7.04.
All updates have been ran and system is now rebooted.
Copy and past the following commands:
Run each command on it’s own in your terminal, once it has completed, copy and paste the next command.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
We need to enable the restricted driver for your ATI video card. To do this click on:
System >> Administration >> Restricted Drivers Manager
Select the check box to “enable ATI driver”
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.
Install the XGL Server
Again, from the terminal run:
sudo apt-get install xserver-xgl
Now XGL has been installed, rock on. It’s almost time to crack open that celebration beer. But first we need to make sure XGL will load when you boot your glorious Ubuntu Hawtness machine. To do so, from the terminal run
sudo gedit /usr/local/bin/startxgl.sh
Ok, you should be in a text editor window. Copy and pase the following copde:
#!/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
CLICK SAVE
CLOSE WINDOW
Sweet.. moving on..
Make the script executable, so from the terminal type:
sudo chmod a+x /usr/local/bin/startxgl.sh
Rock on, ok, next we need to make sure it loads in your session, so form the terminal type:
sudo gedit /usr/share/xsessions/xgl.desktop
In the editor copy / paste:
[Desktop Entry]
Encoding=UTF-8
Name=GNOME with XGL
Comment=
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application
Rock on, we are almost there, make that executable:
sudo chmod a+x /usr/share/xsessions/xgl.desktop
Now test your login. Logout, click sessions and chose GNOME with XGL.
If you are now back at the desktop it’s almost time to do the happy dance, go ahead and grab that bottle opener.. it’s almost Miller Time.
We need to add the security key to get some eye candy, so in your terminal type:
sudo wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add -
From the terminal type:
sudo gedit /etc/apt/sources.list
This will open your sources list, you know when you type “apt-get install” ? It looks at this file for the source of the repos. Ok, so what we want to do here is add a repository location for our eye candy. So at the bottom add
deb http://download.tuxfamily.org/3v1deb feisty eyecandy
SAVE
CLOSE
We go through this little number again:
sudo apt-get update
next run this command:
sudo apt-get install compiz compizconfig-settings-manager compiz-plugins compiz-gnome compiz-fusion-plugins-extra emerald emerald-themes
BADDA BING BABY, you now are aaallmost there..
Now, just add two separate entries in your sessions to make it start when you login:
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, logout, log back in..
BOOM SHAKKA LAKKA !!
I have one question for you now… Do you like apples?
cause.. HOW DO YOU LIKE THEM APPLES?
hahahha
enjoy.
~j
Thank you for this. It worked perfectly, and now I am successfully running compiz…finally..
didnt work for me. after login, i get a message saing xsession couldnt find startxgl.sh then I get my desktop and applications without window frames. permissions are set. I can run the script by it self. xgl.desktop appears to be executing, but can’t exec the script.
I did it until log in with gnome with xgl, after that i coudn’t start a session just obtain a black screen with a ¨x¨, i have a toshiba satellite a75 with ati radeon 9000 igp and intel processador. I really aprecciate any comment about my problem.
Thanks in advance
I was trying this tutorial and ran in to a similar problem when trying to login to the Xgl session. I found a solution that worked for me. The last line of the startxgl.sh should be
exec dbus-launch –-exit-with-session gnome-session
instead of
exec dbus-launch –exit-with-session gnome-session
Hope that helps.
1:
sudo apt-get update
sudo apt-get install linux-restricted-modules-$(uname -r)
sudo apt-get install xorg-driver-fglrx fglrx-control
sudo depmod -a
2.
sudo gedit /etc/X11/xorg.conf
change
“ati”
(or “radeon”,”vesa” Device Part)change into
“fglrx”
in Device Part add :
Option “VideoOverlay” “on”
Option “OpenGLOverlay” “off”
in the end add :
Section “Extensions”
Option “Composite” “0″
EndSection
Section “ServerFlags”
Option “AIGLX” “off”
EndSection
reboot
fglrxinfo
3,install XGL
4,
sudo apt-get install xserver-xgl
5,set up XGL
:
gksudo gedit /usr/local/bin/startxgl.sh
add:
#!/bin/sh
Xgl :1 -fullscreen -ac -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
sudo chmod a+x /usr/local/bin/startxgl.sh
gksudo gedit /usr/share/xsessions/xgl.desktop
add:
[Desktop Entry]
Encoding=UTF-8
Name=Xgl
Comment=Start an Xgl Session
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application
6,install compiz fusio
7、
sudo wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add -
8、
deb http://download.tuxfamily.org/3v1deb feisty eyecandy
deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy
9、update:
sudo apt-get update
sudo apt-get dist-upgrade
10、install Compiz及Compiz fusion
sudo apt-get install compiz compiz-gnome
sudo apt-get install compizconfig-settings-manager
sudo apt-get install compiz-fusion-*
root@ubuntu:~# apt-get install emerald
11,use