Overclock.net banner
1 - 17 of 17 Posts

·
Registered
Joined
·
698 Posts
Discussion Starter · #1 ·
This will help you get Compiz Fusion working under Ubuntu. To see what it is:


I am writing this for the latest version of Ubuntu at the time of press - Feisty Fawn 7.04

First, if you have already tried to install this and failed, we need to clear everything out first.

Start the Synaptic Package Manager:

SystemAdministrationSynaptic Package Manager

Search for Compiz. Remove anything that is installed that has to do with Compiz. mark them for Complete removal. If they are installed, they will have a green checkbox.

Search for Beryl. Remove anything that is installed that has to do with Beryl. mark them for Complete removal. If they are installed, they will have a green checkbox.

Search for Emerald. Remove anything that is installed that has to do with the Emerald Theme Manager. mark them for Complete removal. If they are installed, they will have a green checkbox.

Click Apply

Also if you added any repositories to your sources.list for compiz/beryl, remove them!

Ok, now in the Synaptic Package Manager, click Settings, then Repositories. go to the Third Party Software tab and click Add
A box will pop up prompting you to add something:

Code:

Code:
deb http://ppa.launchpad.net/amaranth/ubuntu feisty main
After we added the repository and closed the window, we need to reload the package informations in Synaptic, click Reload in the top left of the Synaptic Package Manager to do so.

Now we do a search for compiz again.
This will list all the packages that are ready to install.

Find compiz. Click the check box beside it and check "Mark for Installation"

Find compizconfig-settings-manager. Click the check box beside it and check "Mark for Installation"

Find emerald. Click the check box beside it and check "Mark for Installation"

Click Apply
-----------------------------------------------------------------------------------------------------

Start the CompizConfig Settings Manager:
SystemPreferences.

  • There we click on Preferences and in the Backend section choose "Flat-file Configuration Backend" (this is the most reliable and it won't mess with your previous settings of Compiz in gconf).
  • Then create a new profile, so that you can easily switch back to default and back. To do so, click on the [+] in the Profile section.
  • Last but not least, click Back and look for the Window DecorationCommand, type gtk-window-decorator (this will prevent the window borders to disappear in certain situations) - if you want to use Emerald as your default window decorator, see below.
Run Compiz

Press [Alt]+[F2] to start "Run Application" and type:

Code:

Code:
compiz --replace
This should start Compiz with your standard window boarder. If you want to use Emerald instead, press [Alt]+[F2] again and type:

Code:

Code:
emerald --replace
Run Compiz on startup

In order to use Compiz as your default window manager, all you have to do is add the before mentioned command (only the compiz one) to
SystemPreferencesSessionsStartup Programs

Run Compiz with Emerald by default (optional)

Compiz uses the gtk-window-decorator by default, but if you want to start Emerald right away, there are two ways to achieve this:

Remove the package compiz-gnome (it will remove compiz too but don't worry, that's just an empty metapackage)
This will leave you without your window boarders, that you are used to from GNOME (only on Compiz, of course), so you should only do that when you are certain you solely want to use Emerald from now on!

or...

Create a startscript :

Run ApplicationsAccessoriesText Editor and type the following:

Code:

Code:
#!/bin/bashcompiz --replace &sleep 5emerald --replace
Save the file as start-compiz in your home folder.
Close the text editor.
Open PlacesHome Folder.
There you right-click on the file and click Properties
Navigate to PermissionsCheck Allow executing file as program

After this, you can use that file to start Compiz - it's even possible to use that file with a launcher in the panel (or on the desktop) and of course use it for the command in the startup programs

Go to SystemPreferencesCompizConfig Settings ManagerWindow DecorationCommand.

Insert the word emerald into the text box beside Command

Press Ctrl+Alt+Backspace to restart your xWindows session and it should all work! Let me know here if it doesn't.

Questions? Comments?
 

·
Why is it smoking?
Joined
·
4,073 Posts
This is a very nice guide. I believe I did it in a similar but very roundabout way...it took me a little over a week to get it all working the way I wanted. I would definitely like to see this added to the FAQ directory!

For those of you who haven't seen compiz fusion in action, here are a few screenshots that barely scratch the surface of what it can do:







 

·
Why is it smoking?
Joined
·
4,073 Posts
Quote:
For some reason, the amaranth repository kept giving me MD5 sum mismatch errors last night when I reinstalled Ubuntu. I used Trevino's repository this time and it worked fine. It also didn't have the issue with constantly wanting to update compiz-core. I have had issues with Trevino's returning 404 errors though, so I guess just use whatever works for you at the time.
 

·
Registered
Joined
·
4,064 Posts
I compiled mine from git with a script I found on ubuntu forums. Considering I have an 8 series, and nvidia can't seem to get good drivers out for them, it does run a lot faster than it did. I still have problems resizing windows and on certain effects, which is just outright rediculous considering the card I have (8600M GT 256mb DDR2)
 

·
Registered
Joined
·
698 Posts
Discussion Starter · #6 ·
I used the 8600GTS, and mine seems to do pretty well. I dont think what you are experiencing is a driver issue - Compiz is beta software, and as such, is prone to bugs.
 

·
Registered
Joined
·
4,064 Posts
Quote:


Originally Posted by talntid
View Post

I used the 8600GTS, and mine seems to do pretty well. I dont think what you are experiencing is a driver issue - Compiz is beta software, and as such, is prone to bugs.

Well maybe it's on certain ones, all I know is with desktop zoom and or water effects on, my laptop comes to a crawl, and whenever I resize windows or minimize a maximized window, the magic lamp effect is really choppy. I might have to disable a lot of effects so they dont' bother me, but as far as the cube and the panel (where it has all 4 desktops side by side and you can drag in between them) I find those to have some sort of use.
 

·
Registered
Joined
·
4,064 Posts
Quote:


Originally Posted by l V l
View Post

Whenever I launch it from the text I made, or just launch it in general, the thing reboots. =/

Are you doing it via nvidia's steps? or ati? Because ati doesn't support AIGLX yet, you have to use XGL (which I dunno if it's even being maintained anymore.)
 

·
Why is it smoking?
Joined
·
4,073 Posts
Quote:

Originally Posted by l V l View Post
Whenever I launch it from the text I made, or just launch it in general, the thing reboots. =/
Until ATI gets the new Linux drivers out, it will be hard to get an ATI card to run compiz. Try running "compiz --replace" from a terminal so you can see if it gives any particular error.

Try following this guide. It may help you out.
 

·
Registered
Joined
·
1,221 Posts
Quote:

Originally Posted by ted View Post
So, I have a laptop with an Intel graphics card. This won't run will it?
I have a Toshiba with an i855GME 64MB... Beryl will run fine on it but I get no skydome.... Haven't tried fuzion... Lost interest with desktop effects after tinkering for a while....
 

·
Registered
Joined
·
1,829 Posts
OK, so it mostly works on my laptop. (Intel integrated graphics) The cube does not work, and for some reason instead using the revolving or nice effects to switch between workspaces, it just like flips to open a different set of windows in one workspace. Without compiz, the Alt+Ctl+arrow switched between workspaces.
Any help to fix that?
Otherwise, works nicely.
 

·
Registered
Joined
·
698 Posts
Discussion Starter · #16 ·
I'll get back to you on that. Let me do some testing. You're lookin' for the minimize/maximize effects, etc? or... ?
 

·
Premium Member
Joined
·
10,351 Posts
I thought TnB fixed it.
 
1 - 17 of 17 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top