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:
System → Administration → Synaptic 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:
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:
System → Preferences.
Press [Alt]+[F2] to start "Run Application" and type:
Code:
This should start Compiz with your standard window boarder. If you want to use Emerald instead, press [Alt]+[F2] again and type:
Code:
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
System → Preferences → Sessions → Startup 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 Applications → Accessories → Text Editor and type the following:
Code:
Save the file as start-compiz in your home folder.
Close the text editor.
Open Places → Home Folder.
There you right-click on the file and click Properties
Navigate to Permissions → Check 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 System → Preferences → CompizConfig Settings Manager → Window Decoration → Command.
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?
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:
System → Administration → Synaptic 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
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:
System → Preferences.
- 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.
Press [Alt]+[F2] to start "Run Application" and type:
Code:
Code:
compiz --replace
Code:
Code:
emerald --replace
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
System → Preferences → Sessions → Startup 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 Applications → Accessories → Text Editor and type the following:
Code:
Code:
#!/bin/bashcompiz --replace &sleep 5emerald --replace
Close the text editor.
Open Places → Home Folder.
There you right-click on the file and click Properties
Navigate to Permissions → Check 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 System → Preferences → CompizConfig Settings Manager → Window Decoration → Command.
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?