diff options
| author | Eleni Maria Stea <elenimaria.stea@canonical.com> | 2017-01-16 15:40:50 +0200 |
|---|---|---|
| committer | Eleni Maria Stea <elenimaria.stea@canonical.com> | 2017-01-16 15:40:50 +0200 |
| commit | 9d0423c303386c5135bec1c026b3b614e3dc3863 (patch) | |
| tree | b05b65d333d516e8e49849f454600882604c567d /tools | |
| parent | e51fdfa1683edd62ec00d9c168aa67f38deab030 (diff) | |
profile-selector must read the lowgfx gsetting before selecting profile
(bzr r4213.3.4)
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/compiz-profile-selector.in | 5 |
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 |
