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 Desktop
Packages, which is subscribed to gnome-panel in Ubuntu.
https://bugs.launchpad.net/bugs/1232299
Title:
Compiz doesn't undo profile change after processing upgrade
Status in “compiz” package in Ubuntu:
Confirmed
Status in “gnome-panel” package in Ubuntu:
Invalid
Bug description:
gnome-session-flashback (Flashback (No Effects)) which runs with Metacity
works fine.
gnome-session-flashback (Flashback) which runs with Compiz starts Unity
instead.
It works very well with Metacity, but if you use Compiz, then you get
a conflict with Unity. That is; you get both Unity and Gnome Panel
running at the same time.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: gnome-session-flashback 1:3.6.2-0ubuntu15
ProcVersionSignature: Ubuntu 3.11.0-8.15-generic 3.11.1
Uname: Linux 3.11.0-8-generic x86_64
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
Date: Sat Sep 28 01:18:08 2013
GsettingsChanges: b'org.gnome.gnome-panel.run-dialog' b'history' b"['compiz',
'ubuntu-bug fontconfig', 'update-manager -c -d']"
InstallationDate: Installed on 2011-10-21 (707 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: gnome-panel
UpgradeStatus: Upgraded to saucy on 2013-09-16 (11 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1232299/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp