How To Reset Compiz And Unity In Ubuntu 12.10 Quantal Quetzal [Quick Tip]

In Ubuntu 12.10, Compiz (and Unity) are using Gsettings instead of Gconf and because of this, the "unity --reset" command used to reset Unity in previous Ubuntu versions doesn't work anymore. In case some settings are messed up and you want to reset Unity and Compiz to their default settings, here's a new way of doing this that works with Ubuntu 12.10 Quantal Quetzal.