Recently, my window decorations disappeared from Compiz in Gnome Flashback. I asked about this, and someone helpfully suggested I could get them back by putting
metacity --replace in my list of startup applications.
This worked, however, I did not realize until later, that running Metacity in this way would run in place of Compiz, making all Compiz features and functions cease to be available.
Another answer here on AskUbuntu suggested I use put
gtk-window-decorator --replace in the Window Decorations section of the CompizConfig settings manager. However, this also doesn't work, and if I run it from the command line, I get:
gtk-window-decorator: error while loading shared libraries: libmetacity-private.so.0: cannot open shared object file: No such file or directory
How do I keep Compiz running and have window decorations?