Thursday, December 26, 2013

Install compiz on LMDE, Linux Mint Debian Edition(MATE) in 4 easy steps.

In an earlier post I described how to install compiz on LMDE, Linux Mint Debian Edition, MATE desktop using the Sid repositories.  Well things have changed. Currently compiz is not maintained in any of the Debian repos.

Here, in 4 easy steps, I will walk you through the installation of compiz using an archived snapshot of Debian's Sid repositories.

The snapshot archive is a wayback machine that allows access to old packages based on dates and version numbers. It consists of all past and current packages the Debian archive provides.

I have accomplished this on an updated virtual machine, as well as on actual hardware.

Compiz was removed from Sid and experimental on 8/16/2013, so we will select a snapshot from 8/15/2013.

Step 1: We will open up a terminal and edit the sources.list using this command:

sudo nano /etc/apt/sources.list

At the bottom, paste in this snapshot repository:

deb sid main

Save and exit the text editor.

Step 2: We will now update the package repositories.

When we update the repos we'll need to add '-o Acquire::Check-Valid-Until=false' to the `apt-get update` command, otherwise it will complain about the snapshot repo's expired release file.

sudo apt-get -o Acquire::Check-Valid-Until=false update

Warning! Do not upgrade or dist-upgrade your system while this snapshot is active or you will really mess up your system.

Step 3: Open up the Synaptic Package Manager, reload, and search for "compiz". 

I selected the following for a full compiz install:


Package dependencies will get pulled in as well.

Hit apply and there you go! You now have compiz installed!

Step: 4: We will now disable/remove the snapshot repo so we don't unintentionally upgrade/dist-upgrade our Testing install to sid.

Open up the sources.list again

sudo nano /etc/apt/sources.list

Either comment out the line we inserted earlier or simply delete it. I chose the latter.

Save and exit.

Now update your repositories again:

sudo apt-get update

And we're done! You may update and upgrade your system as you normally would.

If tyou happen to open the compizconfig settings manager and there are no icons or text for the plugins here is the fix:

sudo nano /usr/lib/python2.7/dist-packages/ccm/

Changing line:

ret = super (PrettyButton, self).do_expose_event (self, event)
ret = gtk.Button.do_expose_event (self, event)

See the comments if this doesn't work for you.

If you want to install Emerald as well, use the debs provided at the bottom of this post:

Thanks for looking!


(Other Sources):



    is no longer existent. Can anyone help me out here? What was the fix?

  2. sudo nano /usr/lib/python2.7/dist-packages/ccm/

    Changing line:

    ret = super (PrettyButton, self).do_expose_event (self, event)
    ret = gtk.Button.do_expose_event (self, event)

  3. Thanks for the reply. Unfortunately I don't have the following folder:




    Compiz itself is working properly.
    Any idea how to solve the problem with the missing icons?

  4. This worked for me:

    Do you have all the compiz packages installed noted in the post?

  5. The following line

    ret = super (PrettyButton, self).do_expose_event (self, event)

    I can find only in the file "" in the following folders


    It's more or less the same file,
    changing one changes the other automatically.

    After changing the line

    ret = super (PrettyButton, self).do_expose_event (self, event)
    ret = gtk.Button.do_expose_event (self, event)

    ccsm wouldn't start anymore.

    Unchanging it, brings ccsm back,
    but still without the icons :(

    1. I had the same problem too.

      I fixed it changing the line in one of the files you have mentioned:

      And then tried to start ccsm in terminal, but as you said, ccsm didn't start, and I got an error in terminal, saying me that in the python file there was an indentation problem.

      So what you have to do is to check that when you replace the line with ret = gtk.Button.do_expose_event (self, event) into the file, you have to conserve the numbers of tabs in that line.

      I don't know phyton's syntax, but I suppose indentation is very important.

    2. This comment has been removed by the author.

    3. Tabs are very important in python, correct. They are used for separating code blocks (scope). If you do not add a tab, then Python will think that you have exited the method already.

  6. Finally solved!

    Walter is right. Phyton is very tab position sensitive. I made the changes in pluma (gedit). I changed the line 186 just as described above. By doing so pluma inserts a tab so that the line is shifted one tab position to the right, which you DO NOT see in pluma but in another editor, i.e. vi. After correcting the tab position of line 186 through vi, ccsm starts with all the icons loaded.

    In short: I would call it a tab position bug in pluma interpreting/editing a phyton script leading to an identation error.

    Many thanks to both of you.

  7. Thanks guys for help keeping this post going!

  8. Many thanks to YOU for posting how to install compiz on LMDE Mate!

  9. I have installed it successfully once, a couple of weeks ago. Now I have a new test-release and would like to try Compiz on that. But I can't install it any longer.
    Synaptic says tree of the packets are broken:


    What can I do?