** Description changed: Binary package hint: gnome-session So, basically, what we need is to export or not COMPIZ_CONFIG_PROFILE depending on the launched session. This was done before based on the GDMSESSION name (see /etc/X11/Xsession.d/65compiz_profile-on-session), but this should be removed to adapt to the current session launched. Basically, this upstream commit: http://git.gnome.org/browse/gnome-session/commit/?id=3de35f663d1a3cb188fe662ca8aed0fa5af1ebeb should be backported (maybe one or the two preceding patches can be interesting as well). It exports the current session-name (as named in the .session file) through a dbus property So, the idea is to launch a C program which get that value and Use the SetEnv call to modify gnome-session env variable for COMPIZ_CONFIG_PROFILE - Here is a short example of such a program: http://git.gnome.org/browse/gnome-session/tree/compat/gnome-settings-daemon-helper.c?h=gnome-2-30 + Here is a short example of such a program: http://git.gnome.org/browse/gnome-session/tree/compat/gnome-settings-daemon-helper.c?h=gnome-2-30 This one should be launched in X-GNOME-Autostart-Phase=Initialization in the .desktop file. Basically, if the session is "ubuntu" -> set COMPIZ_CONFIG_PROFILE to ubuntu if the session is something else, don't set COMPIZ_CONFIG_PROFILE. - This to remove the conffile in /etc/X11/Xsession.d as well :) + Think to remove the conffile in /etc/X11/Xsession.d as well :)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/723782 Title: Finalize gnome-session fallback detection -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs