Page 1 of 4

Compiz Fusion - Super Compiz

PostPosted: Sun Jan 06, 2008 10:19 am
by TheeMahn
I have been trying the new compiz fusion (git built). I suggest everyone to check it out, it has some nice features such as the zoom magnifier seen below, there are many more beyond that, It seems quite stable I have opened a special repo just for it I do not want to force it on all users. If no problems are seen from any of you I will add it to my main repo and everyone will get upgraded.

How to add the eyecandy repo:

Code: Select all
sudo gedit /etc/apt/sources.list


add the following save and exit:
Code: Select all
deb http://repoubuntusoftware.info/Eyecandy/ gutsy all


Terminal:
Code: Select all
sudo apt-get update
sudo apt-get upgrade


If it complains about broken packages...
Code: Select all
sudo apt-get install -f


Enjoy the new features, it has been stable here thus far.
Screenshot-3.png
Zoom Magnifier in new compiz

Screenshot-4.png
Zoom Magnifier (Fisheye)

Screenshot-5.png
Magnifying Glass

Screenshot-7.png
Show Mouse plugin


If you do not have it already installed it can be installed with the following:
Code: Select all
sudo apt-get install compiz* emerald compiz-fusion-plugins-main compizconfig-settings-manager  compiz-fusion-plugins*


I thought I would also share a script that will add a bunch of new plugins for Compiz Fusion, to install / build theses plugins you need to have all sources open, system administration software sources check them all including backports on the third tab & enter the following in a terminal:
Code: Select all
 wget http://ubuntusoftware.info/scripts/supercompiz.tar.gz
tar xfv supercompiz.tar.gz
cd supercompiz
./supercompiz.sh


This will build / compile and install the following additional plugins: 3d, atlantis, atlantis2, fireflies, freewins-0.3-0.6, photowheel, screensaver, snow, snowglobe, stars-0.6 & tile. As always the source quite simple :) Be sure you have all repos enabled...
Code: Select all
#!/bin/bash
# Grab tools
sudo apt-get install compiz-bcop compiz-dev build-essential libxcomposite-dev libpng12-dev libsm-dev libxrandr-dev libxdamage-dev libxinerama-dev libstartup-notification0-dev libgconf2-dev librsvg2-dev libdbus-1-dev libdbus-glib-1-dev libgnome-desktop-dev x11proto-scrnsaver-dev libxss-dev libxslt1-dev libtool
cd 3d
make clean
make
make install
make clean
cd ..
cd atlantis
make clean
make
make install
make clean
cd ..
cd atlantis2
make clean
make
make install
make clean
cd ..
cd fireflies
make clean
make
make install
make clean
cd ..
cd freewins-0.3-0.6
make clean
make
make install
make clean
cd ..
cd photowheel
make clean
make
make install
make clean
cd ..
cd screensaver
make clean
make
make install
make clean
cd ..
cd snow
make clean
make
make install
make clean
cd ..
cd snowglobe
make clean
make
make install
make clean
cd ..
cd stars-0.6
make clean
make
make install
make clean
cd ..
cd tile
make clean
make
make install
make clean
cd ..
echo Operation successful, enjoy!!! TheeMahn

The Fireflies can be quite annoying :)
snapshot3.png
All effects enabled

Enjoy!!!

EDIT: At your own risk!!! I have found some really nice plugins for compiz fusion I thought I would share this is git you build. First I start with the script I wrote:
Code: Select all
#!/bin/bash
#detect and fully utilize the processor(s)
CORES=1
CORES=$(cat /proc/cpuinfo | grep processor | wc -l)
#Grab & extract plugins
#download animations plugin
wget http://repoubuntusoftware.info/scripts/animation.tar.gz 2>&1 | sed -u 's/.*\ \([0-9]\+%\)\ \+\([0-9.]\+\ [KMB\/s]\+\)$/\1\n# Downloading \2/' | zenity --window-icon=/usr/share/ultimate/ubuntu_ico.png --width=600 --height=100 --progress --auto-close --title="Downloading Animations Plugins..."
tar xfv animation.tar.gz
#Maze plugin
wget http://repoubuntusoftware.info/scripts/maze.tar.gz 2>&1 | sed -u 's/.*\ \([0-9]\+%\)\ \+\([0-9.]\+\ [KMB\/s]\+\)$/\1\n# Downloading \2/' | zenity --window-icon=/usr/share/ultimate/ubuntu_ico.png --width=600 --height=100 --progress --auto-close --title="Downloading Maze Plugin..."
tar xfv maze.tar.gz
#static plugin
wget http://repoubuntusoftware.info/scripts/compiz-plugins-static-0.0+git20080514.tar.gz 2>&1 | sed -u 's/.*\ \([0-9]\+%\)\ \+\([0-9.]\+\ [KMB\/s]\+\)$/\1\n# Downloading \2/' | zenity --window-icon=/usr/share/ultimate/ubuntu_ico.png --width=600 --height=100 --progress --auto-close --title="Downloading Static Plugin..."
tar xfv compiz-plugins-static-0.0+git20080514.tar.gz
for i in `ls -d */` ; do
echo "Compiling $i";
cd $i ;
make -j$CORES install | zenity --progress --pulsate --auto-close --width=500 --title="Compiling $i plugin";
make clean ;
cd .. ;
done


This will add 3 plugins animations (with helix & others), maze & static. I thought I would also take the time to explain the script line by line, I am all about education. There is a 100% GUI version in works it is huge and many bugs to work out. Copied & pasted from admin section of this forum:

Baphomet wrote:And for those (of us) that don't read "script" could there be a short, brass-tacks, translation please?


Sure I will do so (the short one anyways, all day process on the other)...

#!/bin/bash


This is a header telling nix how to interpret the script in question, i.e. perl etc. In this case bash.

#detect and fully utilize the processor(s)
CORES=1
CORES=$(cat /proc/cpuinfo | grep processor | wc -l)


I came up with this and can not understand why others do not utilize this technology, maybe they don't know how... Anyways what this does is assigns $CORES a value of one (default), then checks to see how many cpus you have by greping the output of cat /proc/cpuinfo in my case $CORES gets assigned the value of 4 (will be used later).

#Grab & extract plugins
#download animations plugin
wget http://repoubuntusoftware.info/scripts/animation.tar.gz 2>&1 | sed -u 's/.*\ \([0-9]\+%\)\ \+\([0-9.]\+\ [KMB\/s]\+\)$/\1\n# Downloading \2/' | zenity --window-icon=/usr/share/ultimate/ubuntu_ico.png --width=600 --height=100 --progress --auto-close --title="Downloading Animations Plugins..."
tar xfv animation.tar.gz
#Maze plugin
wget http://repoubuntusoftware.info/scripts/maze.tar.gz 2>&1 | sed -u 's/.*\ \([0-9]\+%\)\ \+\([0-9.]\+\ [KMB\/s]\+\)$/\1\n# Downloading \2/' | zenity --window-icon=/usr/share/ultimate/ubuntu_ico.png --width=600 --height=100 --progress --auto-close --title="Downloading Maze Plugin..."
tar xfv maze.tar.gz
#static plugin
wget http://repoubuntusoftware.info/scripts/ ... 514.tar.gz 2>&1 | sed -u 's/.*\ \([0-9]\+%\)\ \+\([0-9.]\+\ [KMB\/s]\+\)$/\1\n# Downloading \2/' | zenity --window-icon=/usr/share/ultimate/ubuntu_ico.png --width=600 --height=100 --progress --auto-close --title="Downloading Static Plugin..."
tar xfv compiz-plugins-static-0.0+git20080514.tar.gz


This will download 3 files from my repo, pipe the output to zenity to show progress and download speed to the end user, then extract these files.

for i in `ls -d */` ; do
echo "Compiling $i";
cd $i ;
make -j$CORES install | zenity --progress --pulsate --auto-close --width=500 --title="Compiling $i plugin";
make clean ;
cd .. ;
done


This will pipe the out put of ls -d (directories) and assign the variable $i the value of this directory, it then cd (change directory) $i, compile the plugin using maximum number of cores assigned earlier (faster) output piped to zenity to show progress. Steps back a directory and continues onto the next plugin... This is a smarter way to do it then hard coding cd blah blah, simply because I can add as many plugins I would like to the top & it automatically gets compiled.

I suppose I did not take the time to explain the $CORES the statement make (compiler) the switch -j4 (in my case) means it will run 4 parallel processes to "get it done", this does not make a huge difference with small plugins but does when the big picture is seen as the bigger script. I won't say it takes 1/4 of the time as some may think 4 cores more like 1/3.

I hope this has been informative.

TheeMahn

Re: Compiz Fusion

PostPosted: Sun Jan 06, 2008 11:12 am
by Zero Prime
Sweet, it works great and it is so nice to finally have the unsupported extra plugins.

Re: Compiz Fusion

PostPosted: Sun Jan 06, 2008 12:05 pm
by cowboy
Huh for some reason my Compiz Conf. Mngr. didn't change, it loaded OK with no errors??

Re: Compiz Fusion

PostPosted: Sun Jan 06, 2008 12:22 pm
by TheeMahn
cowboy wrote:Huh for some reason my Compiz Conf. Mngr. didn't change, it loaded OK with no errors??



Did it build / install ok as it did so? I found the problem it is ./supercompiz.sh, changing original post, please try again. The USplash maker is now done as well Enjoy fellas. I will forewarn if the name of the folder for example has spaces in it, it wont work for example /media/BigBitch/Christmas/--==-- Wallpapers --==-- fails... A ton of .so files with the quickness ;) I may re-write in solid c and allow changing of the progress bar as well as placement, way down the road I assure you.

Re: Compiz Fusion

PostPosted: Sun Jan 06, 2008 12:26 pm
by Zero Prime
Mine did the same at first, then I tried again by first using the first set of commands and then entering the source code. That worked flawlessly.

Re: Compiz Fusion

PostPosted: Sun Jan 06, 2008 1:06 pm
by cowboy
Lol..That is why they call you TheeMahn, been a long night for me..first code forgot to hit enter, before running the second code :oops: , All in all everything loaded great..do not have enough ump to run all the effects at the same time, but it is nice to have them...advice do not turn off Window Decoration.. :oops: ,thought I really messed up everything until I realized what I had done..lol ;)

Re: Compiz Fusion

PostPosted: Sun Jan 06, 2008 2:08 pm
by TheeMahn
cowboy wrote:Lol..That is why they call you TheeMahn, been a long night for me..first code forgot to hit enter, before running the second code :oops: , All in all everything loaded great..do not have enough ump to run all the effects at the same time, but it is nice to have them...advice do not turn off Window Decoration.. :oops: ,thought I really messed up everything until I realized what I had done..lol ;)



Know what you mean, I enabled them all and it maxed out 1 CPU, Quad core in my near future ;)

Re: Compiz Fusion

PostPosted: Mon Jan 07, 2008 1:19 pm
by drama
WOW...thankx a ton. i heard about these plugins a few days ago...mainly the fireflies just never knew how to get them. thankx 10x.

p.s. thee mahn...anyway i can get you to share a few of ur walls. 14bwallpaper liquid-ubuntu uuesfera and BLUE U. id be interested in those 4. if not that is ok too. sorry if these have already been posted. thankx in advance. cheers :-)

Re: Compiz Fusion

PostPosted: Tue Jan 08, 2008 8:24 am
by Zero Prime
Like I said earlier, I love this package. Of course this comes with a but...I can't get the compiz screensaver to work. It's there and I enabled it, but I get no flying windows or spinning cube as a screensaver. It just never activates.

Re: Compiz Fusion

PostPosted: Tue Jan 08, 2008 9:29 pm
by kiwinsn
Is there anywhere (or anyone) that can give a complete noob step by step instructions on setting Compiz-Fusion up so I get the rotating cube,especially what triggers the cube to spin, as well as the other effects like flames or wobbles or naked girls (maybe?) when windows close?

Cheers