Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A quick Google search reveals very few tutorials on writing Compiz plugins and even fewer seem to be up to date. None that I can find are written specifically for Ubuntu.

I basically need to know:

  • What packages I will need.
  • How plugins are stored / organized.
  • How plugin code should be structured.
  • How to use CMake with my plugin.
share|improve this question
I presume you have read the recent dev week where Sam Spillaz talked through just this topic? – fossfreedom Jul 23 '11 at 20:19
@foss: No, that did not show up in any of my searches. I will gladly upvote that if you post it as an answer. – Nathan Osman Jul 23 '11 at 20:22
up vote 9 down vote accepted

Sam Spillaz (Canonical's key-developer Compiz development) recently held a session in the Developer's week held in March '11 headlined "How to write a Compiz Plugin"

This session took attendees through the following topics:

  1. recent compiz development
  2. how to compile on ubuntu
  3. basic structure of compiz plugin code
  4. walk through on a basic compiz plugin development.

Its well worth a read and I hope to see your efforts soon in some great plugins. Well done!

share|improve this answer
Thank you! I hope so too :) – Nathan Osman Jul 23 '11 at 21:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.