» Upgrade to Ubuntu Gutsy with Compiz-Fusion
In Ubuntu Feisty I've been using compiz-fusion from Treviño’s Ubuntu Repository in combination with a nVidia driver provided by Envy like in this how-to. Running those cutting edge Feisty versions allowed me to have all the nice features that were being developed and lose some bugs that persisted in stable versions, like black windows & strange borders.
But two months ago I upgraded to Gutsy and you will be happy to know that Ubuntu Gutsy has got every awesome feature & bugfix in it's own standard software. So there's no more need for 3rd party software and unstable development repositories.
So here is how you can strip down Feisty of the redundant drivers & packages, and upgrade a customized compiz-fusion Feisty to an official compiz-fusion Gutsy. Wouldn't it be nice to have a system thats completely official Ubuntu, and still have all the cool features?
About this Article
If you currently have a plain Feisty install with no special drivers, you may find my general article on upgrading Ubuntu sufficient.
I've created this how to especially for people running Ubuntu 7.04 Feisty Fawn, upgrading to 7.10 Gutsy Gibbon, with Gnome, compiz-fusion and an nVidia card, but other people may find this article useful as well, just make adjustments where you see fit.
Though I'm trying to explain this as easy as possible, I do assume that you're somewhat experienced as you could seriously mess up your system if you don't know what you're doing. Some have reported problems. Use at own risk. You've been warned! Because your system is probably a bit different than mine, you might also encounter other problems than I did. If so, try to Google your errors, chances are somebody already posted solutions on the net. You can also post comments here.
» If you already have a clean Gutsy system, Just skip to step 3!
The Idea
In 3 main steps, the idea is to :
- Restore Feisty
- Shutdown compiz-fusion
- Remove Envy driver
- Cleanup repository list
- Remove old compiz packages
- Install Ubuntu nVidia driver
- Get Feisty up to date
- Upgrade to Gutsy
- Troubleshooting
- Gutsy' compiz-fusion
- Install compiz-fusion
- Enable compiz-fusion
- Tweak compiz-fusion
» Every step begins with a flash video.
» Every flash video is then described in blocks that correspond with the title screens.
Step 1: Restore Feisty
To get all the standard Gutsy goodness we should probably first remove some custom Feisty components. But remember in the future you never have to worry about upgrades again because we're making your system standard Ubuntu. So you can then just follow standard Ubuntu upgrading guidelines.
Shutdown compiz-fusion
If you're currently running compiz-fusion, shut it down to avoid conflicts or messed up screens. Press ALT+F2, type: metacity --replace and press Run:

Remove Envy driver
If you've followed my previous compiz-fusion tutorial you're running a very new nVidia driver provided by a program called Envy. The author of Envy warns that you should remove the driver with Envy installed before upgrading to a new release.
We could of course afterwards try to reinstall Envy, but since Envy is currently not available for Gutsy, and, more important: since Gutsy will include a fine version of the nVidia driver itsself we don't need the custom Envy driver anymore. So let's just remove it now. Press ALT+F2, type: gksudo "envy -g" and press Run:

You will see the big Envy screen. Choose to Uninstall the driver and click Apply. Your system will still run fine because everything was loaded in memory.
Cleanup repository list
To avoid version conflicts, it would be best to remove any non-Ubuntu repositories from your apt sources.
Press ALT+F2, type: gksudo "gedit /etc/apt/sources.list" and press Run:

To make it simple: you actually only need 4 lines like this:
deb http://nl.archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://nl.archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://nl.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://nl.archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
So I would advice to get rid of all other custom repositories (unless you know you absolutely need them). Especially remove the 3rd party compiz-fusion repositories, because they will definitely stop Ubuntu from using it's own compiz-fusion. With everything cleaned up, save, and exit the editor.
Remove old compiz packages
This command will get rid of all the unofficial compiz-fusion packages currently installed. From a terminal run:
sudo echo "Removing old compiz things (ask for sudo password now, so commands won't be interupted later)"
echo "aptitude -y remove" `sudo dpkg -l | egrep '(beryl|emerald|compiz)'| awk '{print $2}'` | sudo bash
All 'unstable' compiz related packages are now gone.
Install Ubuntu nVidia driver
The Envy driver is removed from the system. So let's get the official nVidia drivers back. For now they will be the Feisty version, but Gutsy will automatically upgrade them with it's own version of the driver later on. From a terminal run:
sudo aptitude -y update
sudo aptitude install nvidia-glx-new linux-restricted-modules-$(uname -r)
md5sum /etc/X11/xorg.conf | sudo tee /var/lib/x11/xorg.conf.md5sum
sudo nvidia-glx-config enable
sudo nvidia-xconfig
The official Ubuntu nVidia driver is now installed. I choose nvidia-glx-new, but these are the options:
- nvidia-glx-new - GeForce5/FX and higer
- nvidia-glx - between GeForce2 MX - GeForce4
- nvidia-glx-legacy - old cards: TNT, TNT2, GeForce, GeForce2 without MX
Get Feisty up to date
Before upgrading to Gutsy, it's good practice to make sure Feisty is totally up to date. Just because. So from a terminal run:
sudo aptitude -y update
sudo aptitude -y dist-upgrade
Chances are your previous compiz installations removed the ubuntu-desktop package. We need this restored for a solid upgrade to Gutsy:
sudo aptitude -y install ubuntu-desktop
Done! We're ready to upgrade!
Step 2: Upgrade to Gutsy
Now that we're totally clean, it's time to upgrade to Gutsy Gibbon.
Press ALT+F2, type: gksudo "update-manager -c" and press Run:

The update-manager will tell you there's a new release availabe. Click to upgrade and follow the instructions.
You will be asked to reboot eventually. Do so.
Troubleshooting
Chances are that you're now running low res on a single monitor. Press ALT+F2, type: gksudo nvidia-settings and pres Run. Now you can can setup your display again using this nVidia tool.
Step 3: Gutsy's compiz-fusion
After the reboot we're running Gutsy, and we are going to install compiz-fusion from Gutsy's own repositories.
Install compiz-fusion
Open up a terminal and type:
sudo aptitude -y update && sudo aptitude dist-upgrade
sudo aptitude install compiz compiz-core compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-gnome compiz-plugins compizconfig-settings-manager libcompizconfig-backend-gconf libcompizconfig0 python-compizconfig
Enable compiz-fusion
Click on
- System -> Preferences -> Appearance -> Visual Effects -> Custom
- Close
Alright! You're now running Gutsy with it's own official compiz-fusion! No more 3rd party repositories, everything right from Ubuntu. So from now on no more problems with upgrades. Everything is solid.
Tweak compiz-fusion
Some old settings you may have already had with the old version are probably gone, so you have to customize compiz-fusion again:
Click on
- System -> Preferences -> Appearance -> Visual Effects -> Custom -> Preferences
Like this article?
|
Then Digg it! Or use another bookmark button below to show your support & help me spread the word. |
Hot StuffFlaming articles» Survive heavy traffic with you... | RelatedArticles like this one» Upgrade to Ubuntu Gutsy Tribe ... |
tags: ubuntu, gutsy gibbon, compiz
category: How to - Desktop
read: 76,415 times






tagcloud
#62. Kevin on 23 March 2008
http://ubuntuforums.org/showthread.php?t=436110
#61. rafael on 21 March 2008
i've gutsy, and i installed compiz. But when i go to * System -> Preferences -> Appearance -> Visual Effects -> Custom -> Preferences , it pop-us a message: The Composite extension is not available... what is that? anyone?
#60. Saurabh on 12 March 2008
Will post if I find someting interesting.
Thanks much for your help
... [more] Regards
#59. Kevin on 12 March 2008
# normal ubuntu deb http://nl.archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse deb http://nl.archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse deb http://nl.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse deb http://nl.archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverseBut I guess that won't solve anything. Maybe you accidentally copied your debian config over your ubuntu config somehow. My guess is you will end up reinstalling :(#58. Saurabh on 12 March 2008
I know its sounds strange but I m running this Feisty for over a year now.I have Etch and even gutsy,running on other systems and I can differentiate between them.I am an Ubuntu User since 5.04.Anyways I can paste my /etc/apt/sources.list file here you can check and tell me:
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
... [more] # newer versions of the distribution.
deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
deb http://in.archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ feisty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://in.archive.ubuntu.com/ubuntu/ feisty universe
deb-src http://in.archive.ubuntu.com/ubuntu/ feisty universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://in.archive.ubuntu.com/ubuntu/ feisty multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ feisty multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://in.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu feisty-security main restricted
deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
deb http://security.ubuntu.com/ubuntu feisty-security universe
deb-src http://security.ubuntu.com/ubuntu feisty-security universe
deb http://security.ubuntu.com/ubuntu feisty-security multiverse
deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse
deb http://nl.archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://nl.archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://nl.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://nl.archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
#57. Kevin on 12 March 2008
But Debian. Etch is the latest stable version of Debian so you can't expect anything to happen when dist-upgrading.
And upgrading from Debian straight to Ubuntu by changing to Ubuntu repositories will most certainly break a lot of things.
#56. Saurabh on 12 March 2008
Password:
DISTRIB_DESCRIPTION="DebianEdu/Skolelinux (terra)"
DISTRIB_RELEASE=3.2
DISTRIB_CODENAME=etch
... [more] :)
#55. Kevin on 12 March 2008
@ Saurabh: Almost seems like you're already running gutsy. What does
say?#54. Saurabh on 12 March 2008
Thanks for the tip Kevin, I tried it but it showed the following message:
saurabh@localhost:~$ sudo do-release-upgrade
Checking for a new ubuntu release
... [more] current dist not found in meta-release file
No new release found
#53. Kevin on 11 March 2008
#52. Saurabh on 11 March 2008
Even by launching the update manager by gksudo "update-manager -c" i m not able to see the new distro upgrade
Can you help me with this
#51. Trainfriend on 17 February 2008
Now to figure out all these cool widgets...
Thanks Again Kevin!
#50. Greg Jenkins on 12 February 2008
#49. cvp on 07 January 2008
The only other problem I ran into was the gzip error just like the one found here:
http://ubuntuforums.org/showthread.php?t=587051
I had overwritten my sources.list (after backing it up, of course) with the four lines you've given, above, and so I replaced all instances of "http" with "ftp", and everything was dandy. Maybe this could help others who use your guide?
... [more] Thanks for your efforts!
#48. Kevin on 06 January 2008
#47. cvp on 06 January 2008
I followed this pretty exactly, with the exception that I'm running KDE (so I'm planning to install compiz-kde instead of compiz-gnome, etc.). But I haven't gotten there yet...
I got just to Step 2, haven't started it yet, and noticed that compiz and its assorted packages installed themselves again when I ran:
sudo aptitude -y install ubuntu-desktop
... [more] I figured something was the matter, that this wasn't supposed to happen, because installing compiz again is a future step, so I ran:
sudo aptitude remove compiz
...but then aptitude informed me that it would be removing a few other packages, and then settled with:
The following packages are BROKEN:
desktop-effects
The following packages are unused and will be REMOVED:
compiz-core compiz-gnome compiz-gtk compiz-plugins libdecoration0
The following packages will be REMOVED:
compiz
0 packages upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 3342kB will be freed.
The following packages have unmet dependencies:
desktop-effects: Depends: compiz but it is not installable
Resolving dependencies...
The following actions will resolve these dependencies:
Remove the following packages:
desktop-effects
ubuntu-desktop
Score is -292
Accept this solution? [Y/n/q/?]
...I chose 'quit'.
I'm going to tentatively proceed for now. :\
#46. Kevin on 28 December 2007
@ gotta.b.strong: Thanks for your remark. compiz-fusion-plugins-extra was in the list as well, but indeed it seems that the unofficial package has been removed from the repository, I will update the article, thank you!
#45. gotta.b.strong on 23 December 2007
In section #3, you have one of the packages named "compiz-fusion-plugins-unofficial" but there is no pkg named that....but there is one named "compiz-fusion-plugins-extra", so I installed that. Can you check that on your end and maybe update your HOWTO.
#44. Yaacov on 23 December 2007
#43. Kevin on 22 December 2007
Should you want to reinstall, save yourself some trouble and burn a Gutsy CD right away, not Feisty.
But you probably don't have to because this command:
... [more]
sudo dpkg-reconfigure xserver-xorg
..Will rewrite your X configuration with a default video driver, so that should at least get you up & running again.
If you've made changes to your /etc/X11/xorg.conf before, be sure to make a backup of it so you don't loose them.
Good luck!
#42. Eric on 21 December 2007
Thank you again,
Eric
#41. Eric on 21 December 2007
I think though that this is now why my graphical interface is not responding. please help, I don't want to do another clean install of Feisty
Thanks
Eric
#40. Kevin on 16 December 2007
#39. Cariboo1938 on 16 December 2007
Quote
The following NEW packages will be automatically installed:
compiz compiz-core compiz-gnome compiz-plugins desktop-effects
The following NEW packages will be installed:
... [more] compiz compiz-core compiz-gnome compiz-gtk compiz-plugins desktop-effects
ubuntu-desktop
0 packages upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
End Quote
and I also got this warning:
Quote
dpkg: warning - unable to delete old directory `/etc/xdg/compiz': Directory not empty
End Quote
I am not sure if this is alright?
#38. Cariboo1938 on 16 December 2007
Thanks again
#37. Kevin on 16 December 2007
dpkg -l shows a list of installed packages
egrep filters to only select beryl, emerald & compiz packages
awk prints out only the second column of the package list
#36. Cariboo1938 on 16 December 2007
I\'m about ready to do my Gutsy upgrade.
I want to follow your instruction because it all sounds logical.
Because I\'m not familiar with the Linux commands, I have trouble understanding this command line:
Quote:
... [more]
Remove old compiz packages
This command will get rid of all the unofficial compiz-fusion packages currently installed. From a terminal run:
sudo echo \"Removing old compiz things (ask for sudo password now, so commands won\'t be interupted later)\"
echo \"aptitude -y remove\" `sudo dpkg -l | egrep \'(beryl|emerald|compiz)\'| awk \'{print $2}\'` | sudo bash
End Quote.
I would be thankful if you could give more details because I think the ()-bracket part is not a Linux command and I don\'t want to mess thing up by doing things I don\'t understand.
Regards
Cariboo
#35. Cariboo1938 on 15 December 2007
I just mentioned the flash issue because sometimes things change so rapidly in this restless world and I'm never sure if I'm still up to date or not!
#34. Kevin on 05 December 2007
This guide is meant to keep you out of trouble if you ALREADY have 3rd party components and are running Ubuntu Feisty.
#33. unhappy chappy on 05 December 2007
I had the default compiz stuff running from the default Gutsy install, ran through this and now nothing works.
Both Custom and Extra settings result in "Desktop Effects could not be enabled"
#32. Kevin on 05 December 2007
#31. Cariboo1938 on 04 December 2007
PS.:
Quote: » Every step begins with a flash video. Get the Flash Player to see this player.
This didn't work for me.
... [more]
It's not a bug, it just needs a note or remark:
<Not working for amd64 architecture!> or something like that!
#30. jport on 29 November 2007
#29. Kevin on 18 November 2007
#28. good advice on 18 November 2007
#27. Kevin on 30 October 2007
But your comment will certainly help people who do run into it, so Thanks for the tip!
#26. nixbert on 30 October 2007
while doing a clean install xgl-xserver might also be required - (see thread from ubuntu forum)
http://ubuntuforums.org/showthread.php?p=3636851#poststop
#25. neonheartjesus on 29 October 2007
#24. ak9tyOne on 29 October 2007
I took a look at Kevin's blog (this blog) minutes after updating incorrectly to Gutsy.
#23. Sorcerer01 on 27 October 2007
http://thesorcerer.wordpress.com
to solve problems for those who have already upgrade their system to Gutsy WITHOUT having used this guide... maybe it's useful for somebody...
#22. vedang on 25 October 2007
#21. Sean on 22 October 2007
#20. Sean on 22 October 2007
By using the Emerald theme, I now get borders. My issue now is that I can not resize any windows by dragging the borders. Any thoughts on that issue?
#19. Kevin on 21 October 2007
- /var/log/dpkg.log
- /var/log/dist-upgrade
... [more] And see if you can find out what causes the crash. For example if it hangs on a specific package, maybe we can first remove that package before upgrading, and then reinstall it.
#18. SeanBlader on 21 October 2007
#17. Kevin on 21 October 2007
Or maybe can you expand the terminal and see what is happening on the background?
@ Sean: I don't have ATi but you need to have 24bit setting in your /etc/X11/xorg.conf and maybe I think you're running in 8bit currently. You might be able to edit the: "DefaultDepth" option, and make sure section "Screen" also has got a valid "Display" subsection with a "Depth" of 24 and "Modes" that your system can handle
#16. Sean on 21 October 2007
% compiz --replace
Checking for Xgl: present.
Checking for nVidia: not present.
... [more] Checking for Xgl: present.
Enabling Xgl with fglrx ATi drivers...
Starting gtk-window-decorator
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
#15. SeanBlader on 21 October 2007
#14. Kevin on 20 October 2007
It will probably give us some clues about what goes wrong so post them here and maybe we can solve it.
#13. Chali on 20 October 2007
Works flawlessly with my ATI card :D
#12. Joyful on 20 October 2007
(I use Gnome, compiz-fusion and an nVidia card)
setting visual effect to nothing, the borders reappear but I can't use any effect ç___ç
help please
#11. iKiTuB on 20 October 2007
#10. Kevin on 20 October 2007
#9. Erdeniz on 19 October 2007
#8. Kevin on 19 October 2007
#7. Gary on 19 October 2007
Oh, and to say thank you.
#6. Arnold (http://blog.adaniels.nl) on 19 October 2007
This was the result of using the nvidia-glx drivers. After switching to nvidia-glx-new everything worked fine.
#5. Kevin on 19 October 2007
@ Tom: True. Partial upgrade should go fine but my advice would be to remove Envy again and reinstate nvidia-glx-new. Otherwise after your reboot you will a kernel mismatch again, only this time, Envy will tell you that Gutsy is not supported.
Then you can do two things:
... [more] - edit the source of Envy's classes.py and force it to accept Gutsy.
- Install the nvidia-glx-new driver without a graphical environment. Also an option of course, but less ideal.
#4. Tom on 19 October 2007
#3. dethis on 19 October 2007
email: thegoofysk8er@gmail.com
#2. Kevin on 18 October 2007
#1. spr0k3t on 18 October 2007