Ubuntu – Emerald window decorator fails to start… sometimes


I'm running Ubuntu 10.04 and I have some weird issues with emerald not starting sometimes, leaving me "chromeless" windows. I can, of course then start emerald with emerald --replace > /dev/null 2>&1 & \ disown $!, but it'd be really nice to just make sure it starts no matter what.

Currently, emerald is being started by compiz, I believe, as I set emerald as my decorator using CompizConfig Settings Manager:

CCSM Screenshot

Is there a better way to do this so that we can ensure that it starts every time?

Best Answer

I think the preferred way to make Compiz use Emerald for the window decorations is to create the file ~/.config/compiz/compiz-manager and add the following line:


The script /usr/bin/compiz-decorator looks for the config file


($XDG_CONFIG_HOME is ~/.config by default) for user specific preferences.

So set the command for the Window Decorations module back to /usr/bin/compiz-decorator and create/edit the config file as described above.

Related Question