/etc/X11/Xsession.d/65compiz_profile-on-session is in compiz-gnome 1:0.9.13.0+16.10.20160818.2-5.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # This file is sourced by Xsession(5), not executed.
# Select unity profile if we are in the default session.
# The default profile is used otherwise.
if [ "x$DESKTOP_SESSION" = "xubuntu" ]; then
COMPIZ_CONFIG_PROFILE="ubuntu"
export COMPIZ_CONFIG_PROFILE
elif [ "x$DESKTOP_SESSION" = "xmate" -o "x$XDG_SESSION_DESKTOP" = "xmate" ]; then
COMPIZ_CONFIG_PROFILE="mate"
export COMPIZ_CONFIG_PROFILE
elif [ "x$DESKTOP_SESSION" = "xlightdm-xsession" ]; then
# Let's look at the preferred x session manager:
value=$(update-alternatives --query x-session-manager 2>/dev/null | awk '/^Value: / {print $2}')
if [ "x$value" = "x/usr/bin/mate-session" ]; then
COMPIZ_CONFIG_PROFILE="mate"
export COMPIZ_CONFIG_PROFILE
fi
fi
|