Installing Compiz Fusion

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Installing Compiz Fusion

Postby kainnvin on Sat Jun 30, 2007 6:49 am

This is what I did to install Compiz Fusion on Mint.

Open the terminal and type:

sudo gedit /etc/apt/sources.list

this will opent a text file, copy-paste the following lines at the bottom of the file and save

deb http://download.tuxfamily.org/3v1deb feisty eyecandy
deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy

this will add the repositorys with the latest files. Now type:

sudo wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add -

this will add the autentication key for the repositories. Type:

sudo apt-get remove compiz-core desktop-effects
sudo apt-get remove beryl-core

this will remove beryl and compiz that come with Mint
type the following to update the source list

sudo apt-get update

and type to install compiz fusion:

sudo apt-get install compiz # compiz-gnome
sudo apt-get install compizconfig-settings-manager # compizconfig-backend-*
sudo apt-get install compiz-fusion-*

that's it, to start it type:

compiz --replace&

to make it start at startup

goto Preferences->Sessions
in the startup programs tab click New
Give it a name, ex: Compiz Fusion
And in command type: compiz --replace & sleep 5; emerald --replace &

Config is in Preferences->CompizConfig

It's a bit of a clumsy tutorial but I hope it helps

PS: ATENTION Compiz Fusion is still in development and might not be stable, that said, so was beryl.
User avatar
kainnvin
Level 1
Level 1
 
Posts: 19
Joined: Wed Jun 27, 2007 11:40 am
Location: Portugal

Linux Mint is funded by ads and donations.
 

Postby Adler on Sat Jun 30, 2007 8:28 am

kainnvin,

Well Done that was what I was looking for to up-grade to Fusion.

sudo apt-get remove compiz-core desktop-effects
sudo apt-get remove beryl-core

this will remove beryl and compiz that come with Mint


I'm used to working with the command line, but always use "sudo aptitude", not "sudo apt-get" to do my things. Just consider me "old school".

Again, well done, and thanks!

I do love the Mint!

Adler
Phoenix, Arizona
User avatar
Adler
Level 4
Level 4
 
Posts: 375
Joined: Mon Jan 01, 2007 9:29 pm
Location: Wilwood, New Jersrey

Postby twodogs on Sat Jun 30, 2007 10:57 am

this is a very good tutorial! :)

one question.... i followed it exactly and went into compiz settings and set up snow, and other effects. very cool!

the only thing that doesn't work correctly (i think) is emerald. i imported some emerald styles but can't get it to work.. anyone please help. thank you very much.

congrats to the compiz-fusion-beryl people for making linux look so beautiful. you are very talented! ;)
User avatar
twodogs
Level 4
Level 4
 
Posts: 269
Joined: Sat Jun 09, 2007 9:18 pm

Postby kainnvin on Sat Jun 30, 2007 1:06 pm

I haven't really tried messing with emerald but I think it only sets decoration for beryl unfortunately, I think there is a CompizDecorator on the way.
You can always try reading or asking in the Compiz Forums http://forums.opencompositing.org/
User avatar
kainnvin
Level 1
Level 1
 
Posts: 19
Joined: Wed Jun 27, 2007 11:40 am
Location: Portugal

Postby Adler on Sat Jun 30, 2007 7:55 pm

kainnvin,

I took the plunge, and installed Fusion according to your "How-To". Again, excellent.

I can launch a 3-D Desktop with glass using my usual key stroke commands

Image

But, lost theme settings, and the usual Task Bar (Beryl) Icon to edit My Theme which is now back to the default Mint Desktop decorator.

Fusion launches on Boot, but there might be something missing in your "How-To".

Great work!

Adler
Phoenix, Arizona
User avatar
Adler
Level 4
Level 4
 
Posts: 375
Joined: Mon Jan 01, 2007 9:29 pm
Location: Wilwood, New Jersrey

Postby kainnvin on Sun Jul 01, 2007 6:10 am

Compiz Fusion doesn't have a tray icon yet, about the decoration, make sure that the Window Decoration Plugin is on.

Also, try using
compiz --replace -c
instead of compiz --replace
User avatar
kainnvin
Level 1
Level 1
 
Posts: 19
Joined: Wed Jun 27, 2007 11:40 am
Location: Portugal

Postby exploder on Sun Jul 01, 2007 2:21 pm

I am running Compiz Fusion but I run it from a taskbar launcher using the (compiz -- replace) command. If I start Compize from the terminal I loose my toolbars when I close the terminal.

I am still working on getting Emerald Themes to work right.
exploder
Level 15
Level 15
 
Posts: 5913
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Postby kainnvin on Sun Jul 01, 2007 3:17 pm

Use "compiz --replace &" so it runs in the background and you can close the terminal. I got emerald themes to work with the -c option as I said earlier.
User avatar
kainnvin
Level 1
Level 1
 
Posts: 19
Joined: Wed Jun 27, 2007 11:40 am
Location: Portugal

Postby exploder on Sun Jul 01, 2007 3:55 pm

I tried the -c option but Emerald Themes kept loosing my toolbaes.

What version of Emerald do you have installed?
exploder
Level 15
Level 15
 
Posts: 5913
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Postby newW2 on Sun Jul 01, 2007 5:04 pm

Should that code be?.....

"compiz --replace -c emerald &"
User avatar
newW2
Level 6
Level 6
 
Posts: 1081
Joined: Fri Apr 06, 2007 10:24 am
Location: USA

Postby exploder on Sun Jul 01, 2007 5:21 pm

I created a launcher and used this command, compiz --replace -c emerald

Now Compiz and Emerald Themes both start up together!

Also found this on the Ubuntu Forums.

http://ubuntuforums.org/showthread.php?t=489341

The script works perfect but I cant get it to work as a launcher.

For the moment I have a launcher using, metacity --replace to turn off Compiz.
exploder
Level 15
Level 15
 
Posts: 5913
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Postby newW2 on Sun Jul 01, 2007 5:47 pm

Hey cool. And i see you were replied to on the forum. Let us all know how well it works. :lol:
User avatar
newW2
Level 6
Level 6
 
Posts: 1081
Joined: Fri Apr 06, 2007 10:24 am
Location: USA

Postby exploder on Sun Jul 01, 2007 6:08 pm

Works like a charm! Those guys on the Ubuntu Forum are great!
exploder
Level 15
Level 15
 
Posts: 5913
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Postby exploder on Sun Jul 01, 2007 6:14 pm

This tip seemed to speed up Compiz Fusion quite a bit!

http://ubuntuforums.org/showthread.php?t=489344
exploder
Level 15
Level 15
 
Posts: 5913
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Postby Adler on Sun Jul 01, 2007 9:11 pm

I created a launcher and used this command, compiz --replace -c emerald

Now Compiz and Emerald Themes both start up together!


exploder,

I think there are two distinct issues here.

1. A Taskbar Icon
2. Getting Emerald themes to work.

I've been to the CompizFusion Site, and there is work being done to get a Task Bar Icon going. I can live until that gets done. I think.

Can you explain what you did to get Emerald back? I can launch Emerald from my Task Bar, and also have several Emerald Themes that I've saved to disk from Gnome-Look.org., but can't get the two to connect e.g. Fusion and Emerald.

Where I seem to be lost is not having a Fusion Manager Icon in my Taskbar tray. Basically, to re-load any changes that I make or want to stop Fusion like I used to do with Beryl. I think that you know what I mean.

Thanks for any comments.

Adler
User avatar
Adler
Level 4
Level 4
 
Posts: 375
Joined: Mon Jan 01, 2007 9:29 pm
Location: Wilwood, New Jersrey

Postby exploder on Sun Jul 01, 2007 10:49 pm

First do this,


For anyone who would like or needs to change between compiz and metacity here's a way you can easily toggle between the two.

Open a blank text file and insert this code:

Code:

#!/bin/sh

# click to start, click to stop

if pidof compiz.real | grep [0-9] > /dev/null
then
exec metacity --replace
else
exec compiz --replace -c emerald

fi

Save the file with a convenient name (compiz_start) and make it executable. (Right click > Properties > Permissions > check: allow executing this file as a program)

Now you can double-click this file and choose run or make a launcher on your panel pointing to this file.

Note: If you are not using Emerald just use 'compiz --replace'.


Then do this,

1. Save the script to your user's home. (I called it compiz_start)
2. open a terminal & chmod 777 '/home/"your_name"/compiz_start'
3. Right click on a panel & select a "custom launcher"
4. call it whatever you want & in the command area put: /home/"your_name"/compiz_start
5. test it out

I used my Emerald icon.

This will give you a panel icon. If compiz is OFF, clicking the icon runs the script, and vise versa.

You can also check out the thread on the Ubuntu forums.
http://ubuntuforums.org/showthread.php?t=489341
Last edited by exploder on Mon Jul 02, 2007 9:17 am, edited 1 time in total.
exploder
Level 15
Level 15
 
Posts: 5913
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Postby Adler on Sun Jul 01, 2007 11:06 pm



For anyone who would like or needs to change between compiz and metacity here's a way you can easily toggle between the two.


exploder,

I'm coming from the Beryl side of things, and just did a sudo aptitude update/ dist-upgrade, and got a lot of new downloads. None of these help.

Can you post a screenshot what you have, as I did above? I do YouTube Vids of what I have. Do you have any of those?

Adler
User avatar
Adler
Level 4
Level 4
 
Posts: 375
Joined: Mon Jan 01, 2007 9:29 pm
Location: Wilwood, New Jersrey

Postby exploder on Sun Jul 01, 2007 11:20 pm

I am not sure how to post a screen shot on this forum. All I have to start and stop compiz and emerald is an icon on the panel. Just follow the steps in my earlier post. It is one click to activate compiz and emeraldl and click again to turn it off. It isn't very hard to do. Give it a go!
exploder
Level 15
Level 15
 
Posts: 5913
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Postby newW2 on Mon Jul 02, 2007 1:18 am

Hello Adler,

I followed the instructions in the following link to make sure the xorg config file was set up right for my nvida card.

http://forums.opencompositing.org/viewt ... f=40&t=522

Then I did as Exploder detailed in his post (I actually was looking at the Ubuntu forums and saw that he was on the trail of the same how to that I was looking for. Anyway, the only thing that I did different was add the "&" at the end of : " exec compiz --replace -c emerald" in the script (i.e exec compiz --replace -c emerald &). Then I did a right click on the task bar and selected add to panel.

When I was done all I have to do is click on the new task bar icon (it's binary). If compiz is OFF, clicking the icon runs the script, and vise versa. At first I was a little concerned that I had done it all wrong, because the beryl theme I had been using seemed to be missing the min/max buttons. However, they were there, just not visible.

I launched firefox (again - even though it was already open) and the buttons were visible in the new window bar on FF.

Oh btw, you will probably have to select the Emerald theme manager from the mint menu and select the theme of your choice before running the script you built.

I wish you success. Now to find a picture for that new icon on the task bar. :D
User avatar
newW2
Level 6
Level 6
 
Posts: 1081
Joined: Fri Apr 06, 2007 10:24 am
Location: USA

Postby exploder on Mon Jul 02, 2007 9:20 am

I edited the "How To" for the Compiz Fusion icon to try and make it as easy and clear as possible.
exploder
Level 15
Level 15
 
Posts: 5913
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Linux Mint is funded by ads and donations.
 
Next

Return to Tutorials

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests