In /usr/bin/gnome-wm lines 49 to 66 (ubuntu intrepid beta):
----
# special case handling for dapper upgrades (this runs only once after the
upgrade)
if [ -z "$DEFWM" ] && [ -f /var/lib/gnome-session/dapper-upgrade ]; then
gconftool-2 -s /desktop/gnome/applications/window_manager/default
/usr/bin/metacity --type string
DEFWM=/usr/bin/metacity
fi
# If not exist, set to compiz (if available)
if [ ! -x "$DEFWM" ]; then
if [ -x "/usr/bin/compiz" ]; then
gconftool-2 -s /desktop/gnome/applications/window_manager/default
/usr/bin/compiz --type string
DEFWM=/usr/bin/compiz
elif [ -x "/usr/bin/metacity" ]; then
gconftool-2 -s /desktop/gnome/applications/window_manager/default
/usr/bin/metacity --type string
DEFWM=/usr/bin/metacity
else
unset DEFWM
fi
fi
----
To my mind, the special case handling for dapper upgrade should be
removed (impossible to upgrade directly from dapper to intrepid). But
doesn't matter.
The important thing is to call "nvidia-settings -l" :
----
# If not exist, set to compiz (if available)
if [ ! -x "$DEFWM" ]; then
if [ -x "/usr/bin/compiz" ]; then
gconftool-2 -s /desktop/gnome/applications/window_manager/default
/usr/bin/compiz --type string
DEFWM=/usr/bin/compiz
if [ -x "/usr/bin/nvidia-settings" ]; then
/usr/bin/nvidia-settings -l
fi
elif [ -x "/usr/bin/metacity" ]; then
gconftool-2 -s /desktop/gnome/applications/window_manager/default
/usr/bin/metacity --type string
DEFWM=/usr/bin/metacity
else
unset DEFWM
fi
fi
----
Maybe nvidia-settings -l should be called in another place, please tell
me if you find a better place.
This fix is important, because users don't understand why compiz has a
such bad quality, while they configure vsync and/or anisotropic and/or
antialiasing in nvidia-settings.
--
compiz & nvidia-settings
https://bugs.launchpad.net/bugs/215876
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs