summaryrefslogtreecommitdiff
diff options
-rwxr-xr-xtools/compiz-profile-selector.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/compiz-profile-selector.in b/tools/compiz-profile-selector.in
index 8041f109b..f507a43b4 100755
--- a/tools/compiz-profile-selector.in
+++ b/tools/compiz-profile-selector.in
@@ -7,6 +7,11 @@ if ! /usr/lib/nux/unity_support_test -p; then
compiz_profile="ubuntu-lowgfx"
fi
+if gsettings get com.canonical.Unity lowgfx
+then
+ compiz_profile="ubuntu-lowgfx"
+fi
+
echo "Using compiz profile '$compiz_profile'"
if [ -n "$UPSTART_SESSION" ]; then