Ubuntu – How to reset Compiz settings to default

compizresetunity

I'm using Ubuntu 13.04 (Raring)

I've installed CompizConfig Settings Manager (CCSM) and wanted to enable the wobbling window effect. This disabled some other things and suddenly I didn't have window borders any more…
Following various instructions I found at Google, I've tried the following steps:

  1. Go to CCSM Preferences / Reset to defaults

This disabled all plugins and effects (including Unity) so I didn't get any further…

  1. executing dconf reset -f /org/compiz and rebooting

This brought borders back, but still don't have close/mini/maxi buttons, can't resize or move windows. And the top left entries of the menu bar vanished (Logout, battery, volume…) so I have to shutdown my computer via a terminal…

Edit:

  1. Following the instructions from the first answer.

This brought my menu bar applets back…
dpkg-reconfigure didn't seem to work. Result of this command:

/var/lib/dpkg/info/compiz.config: 1: /var/lib/dpkg/info/compiz.config: [general]: not found
/var/lib/dpkg/info/compiz.config: 2: /var/lib/dpkg/info/compiz.config: backend: not found
/var/lib/dpkg/info/compiz.config: 3: /var/lib/dpkg/info/compiz.config: plugin_list_autosort: not found
/var/lib/dpkg/info/compiz.config: 5: /var/lib/dpkg/info/compiz.config: [gnome_session]: not found
/var/lib/dpkg/info/compiz.config: 6: /var/lib/dpkg/info/compiz.config: backend: not found
/var/lib/dpkg/info/compiz.config: 7: /var/lib/dpkg/info/compiz.config: integration: not found
/var/lib/dpkg/info/compiz.config: 8: /var/lib/dpkg/info/compiz.config: plugin_list_autosort: not found
/var/lib/dpkg/info/compiz.config: 9: /var/lib/dpkg/info/compiz.config: profile: not found
/var/lib/dpkg/info/compiz.config: 11: /var/lib/dpkg/info/compiz.config: [general_ubuntu]: not found
/var/lib/dpkg/info/compiz.config: 12: /var/lib/dpkg/info/compiz.config: backend: not found
/var/lib/dpkg/info/compiz.config: 13: /var/lib/dpkg/info/compiz.config: integration: not found
/var/lib/dpkg/info/compiz.config: 14: /var/lib/dpkg/info/compiz.config: plugin_list_autosort: not found
/var/lib/dpkg/info/compiz.config: 15: /var/lib/dpkg/info/compiz.config: profile: not found

Is there any possibility to reset the settings like they were after installing Ubuntu?

Edit 2:

Just noticed that the title bar of windows isn't missing; It's just hidden under the menu bar. So the buttons are only hidden, too.

Edit 3: PROBLEM SOLVED

Started CCSM, went to window management and checked scale windows and move windows… After a re-login everything was fine.

Best Answer

Execute the following command and then re-login:

rm  -rf ~/.compiz-1 ~/.config/compiz-1