Using Compiz by default in Unity 2D

Compiz as default Unity 2D compositor

Go to a Terminal and enter:

sudoedit /usr/share/gnome-session/sessions/ubuntu-2d.session

In the fifth line, change metacity to compiz:

DefaultProvider-windowmanager=compiz

Remove window decoration from maximized windows

To solve the window decorator issue, simply run the following in the terminal or Alt+F2 and the window decoration will immediately disappear:

gconftool-2 -s -t string '/apps/compiz-1/plugins/decor/screen0/options/decoration_match' '!state=maxvert'

The same can be done using the CompizConfig Settings Manager, CCSM, if you've installed it already:

enter image description here