Got it. The bug is in Compiz. When Compiz starts up it looks for upgrade scripts in /usr/share/compizconfig/upgrades and runs each of them. For each upgrade, ccsProcessUpgrade (compizconfig/libcompizconfig/src/main.c:4737) sets the Compiz profile to the one mentioned in the filename ("unity" for all the scripts shipped in compiz-gnome); I guess that is so that the affected plugins are made active. But, it doesn't set the profile back afterwards!
So, the workaround for a new user account is: mkdir -p ~/.config/compiz-1/compizconfig for file in /usr/share/compizconfig/upgrades/*.upgrade; do basename $f; done > ~/.config/compiz-1/compizconfig/done_upgrades Then Compiz won't run the upgrade scripts (since we told it they've already been done), and we avoid setting the profile to unity. Compiz devs, would you please consider trying to fix this bug? If I have time I'll try to submit a patch, but it won't be soon... ** Changed in: gnome-panel (Ubuntu) Status: Confirmed => Invalid ** Summary changed: - gnome-session-flashback with Compiz launches Unity if you create a user and log in for the first time directly with gnome-flashback + Compiz doesn't undo profile change after processing upgrade -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232299 Title: Compiz doesn't undo profile change after processing upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1232299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs