I found a solution to this bug. Install the version of Compiz from Daniel van Vugt's ppa and that will fix this issue. Even if you restart compiz, it remains stable.
https://launchpad.net/~vanvugt/+archive/compiz ** Changed in: compiz (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/815996 Title: Desktop occasionally freezes/locks up when switching workspaces To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/815996/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~compiz Post to : [email protected] Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp

