Tips & How-To's

[How-to] Snow Plugin in Compiz-Fusion

After a long time’s search over the internet for many days I finally figured out how to do this. Many may know this already but many may not too. And since I hate to compile programs from sourceI have found here a method that involves less of actual compiling. Since am a ubuntu user I only have tried this in ubuntu and not other distros.

STEPS

1. Install these packages:

compiz-bcop

compiz-dev

compizconfig-settings-manager

build-essential

libtool

libglu1-mesa-dev

libxss-dev

libcairo2-dev

git-core

2. You need a working directory say ~/compiz

3. When in your working directory, in terminal, execute this command:

git clone git://anongit.compiz-fusion.org/fusion/plugins/snow

4. Download this file and extract its contents to your working directory

5. In your working directory now there will be a folder called snow. Change to that folder (~/compiz/snow in my case)

6. Execute these three commands one after the other:

make

make clean

make install

7. Now in your CompizConfig Settings Manager you can find the snow plugin and activate it.

This may sort of resemble a dreamscene on your desktop and i really like it a lot. A snowy wallpaper could be suitable.

A small variant of this plugin called Autumn Plugin is here (Thanks to Patrick Fisher and ubuntu forums)

Thanks to elgilicious and ubuntu forums for this

Ed’s note: Do we really need all of this ?  openSUSE, Fedora, Sabayon – all had Snow plugin without having to do any of this

21 Comments

  1. Pingback: Sathya
  2. Was all excited about it.. started following the steps, and when I did MAKE, it said “Compiz is not installed” but it IS installed.

    btw @Ed I dont have it on my ubuntu.. so I guess its useful, theres the snow thing in Metacity or whatever it is that KDE uses, but I go into KDE only when I am in the mood to go all bugge and laggy :P

  3. If you haven’t upgraded to KDE 4.2 yet do upgrade. KDE 4.2 is no longer laggy. (jeck KDE 4.1.3 wasn’t laggy either)

    As for Compiz is not installed – probably the development packages are not installed

  4. I dont know what version I have but am sure its upto date.. I always install all the updates and then start working. It just doesnt feel as fluid as it does when I use compiz :(

    Will check that dev pack thing :D thanks!

    1. Why are you using Compiz with KDE, KDE’s compostion engine in KWin is pretty good, try it.
      Also don’t know why your comment put to moderation queue, weird

      1. Oops, I mentioned “Metacity” in the first comment by mistake I mean KWin.. get those two names mixed up often.

        As I said there, I found some problems using it.. and yes.. I am using that only now.. sat for a long time tweaking the settings and stuff.. just gotta get the keyboard shortcuts configured.

        It is good, but still will take some more time for me get it to be as productive as Compiz was.

  5. i’m having problems getting this to build. I get the following errors:
    a34lkj2348dsf311@a34lkj2348dsf311-desktop:~/snow$ make
    compiling : snow.c -> build/snow.losnow.c: In function ‘updateSnowTextures’:
    snow.c:459: warning: passing argument 1 of ‘compLogMessage’ from incompatible pointer type
    snow.c:459: warning: passing argument 2 of ‘compLogMessage’ makes pointer from integer without a cast
    snow.c:459: error: incompatible type for argument 3 of ‘compLogMessage’
    snow.c:463: warning: passing argument 1 of ‘compLogMessage’ from incompatible pointer type
    snow.c:463: warning: passing argument 2 of ‘compLogMessage’ makes pointer from integer without a cast
    snow.c:463: error: incompatible type for argument 3 of ‘compLogMessage’
    snow.c: In function ‘snowInitScreen’:
    snow.c:545: error: incompatible type for argument 2 of ‘compAddTimeout’
    snow.c:545: error: too many arguments to function ‘compAddTimeout’
    snow.c: In function ‘snowDisplayOptionChanged’:
    snow.c:613: error: incompatible type for argument 2 of ‘compAddTimeout’
    snow.c:613: error: too many arguments to function ‘compAddTimeout’
    make: *** [build/snow.lo] Error 1
    a34lkj2348dsf311@a34lkj2348dsf311-desktop:~/snow$

    1. hey did u dload the source code from the link mentioned here????? did u dload install and follow all other files and instructions mentioned here????

      if yes, then the problem is specific to ur pc and the prob also seems to b with the snow.c file….. try dloading the source from sum other website who gives a modified source…..

  6. I thought I’d receive an email to replies and I forgot to check this blog. I did NOT use what was posted on this blog and I apologize for not doing so. I did as the blog instructed and snow now works. It’s really frustrating that there are variants of this source code and not a central repository. Now I’d like to get the other plugins working but of course they aren’t compiling.

  7. Worked perfect the first time, and learned alot about making and switching between directories in the process. Great help!

  8. Dear Bharat,

    I hame having same error as user “Angry”:

    a34lkj2348dsf311@a34lkj2348dsf311-desktop:~/snow$ make
    compiling : snow.c -> build/snow.losnow.c: In function ‘updateSnowTextures’:
    snow.c:459: warning: passing argument 1 of ‘compLogMessage’ from incompatible pointer type
    snow.c:459: warning: passing argument 2 of ‘compLogMessage’ makes pointer from integer without a cast
    snow.c:459: error: incompatible type for argument 3 of ‘compLogMessage’
    snow.c:463: warning: passing argument 1 of ‘compLogMessage’ from incompatible pointer type
    snow.c:463: warning: passing argument 2 of ‘compLogMessage’ makes pointer from integer without a cast
    snow.c:463: error: incompatible type for argument 3 of ‘compLogMessage’
    snow.c: In function ‘snowInitScreen’:
    snow.c:545: error: incompatible type for argument 2 of ‘compAddTimeout’
    snow.c:545: error: too many arguments to function ‘compAddTimeout’
    snow.c: In function ‘snowDisplayOptionChanged’:
    snow.c:613: error: incompatible type for argument 2 of ‘compAddTimeout’
    snow.c:613: error: too many arguments to function ‘compAddTimeout’
    make: *** [build/snow.lo] Error 1
    a34lkj2348dsf311@a34lkj2348dsf311-desktop:~/snow$

    I did not find compiz-bcop in Synaptic, instead i found compiz-fusion-bcop which i installed. I do not know how to get compiz-bcop on my system.

    PS: really appreciate your tutorial, i am new to ubuntu (KK) ; this helped me get a hang of the ‘terminal’

    Cheers

  9. hey guys i just download and install this package from here and you’ll have the snow effect :)
    http://rpm.pbone.net/index.php3/stat/4/idpl/14531485/dir/fedora_1/com/compiz-fusion-unsupported-0.8.4-4.fc14.x86_64.rpm.html

    after downloading you need to convert the .rpm file to a .deb one
    instructions for Ubuntu using compiz:
    (first you need to install a convertor alien)
    sudo apt-get install alien
    (go in the directory where you downloaded the package compiz-fusion-unsupported in my example is home/snow/)
    cd /home/victor/snow/
    (now we convert the .rpm file to .deb)
    sudo alien compiz-fusion-unsupported-0.8.4-4.fc14.x86_64.rpm
    (now go to that folder double click and install the deb package.
    Good Luck.

  10. Just wanted to say thanks, still works and with a few tiny modifications/exceptions to your post, works without a charm for me on Arch Linux. So much <3!

Leave a Reply

Your email address will not be published. Required fields are marked *