on xenial help sign in
Added settings option to enable/disable the launcher
e49012eBrian Douglass
data/com.canonical.Unity8.gschema.xml+5
@@ -43,6 +43,11 @@
43 <summary>Width of the launcher in grid units.</summary>
43 <summary>Width of the launcher in grid units.</summary>
44 <description>Changes the width of the launcher in all usage modes.</description>
44 <description>Changes the width of the launcher in all usage modes.</description>
45 </key>
45 </key>
46+ <key type="b" name="enable-launcher">
47+ <default>true</default>
48+ <summary>Enable or disable the launcher</summary>
49+ <description>Toggle the availability of the launcher</description>
50+ </key>
46 </schema>
51 </schema>
47
52
48 <schema path="/com/canonical/unity8/greeter/" id="com.canonical.Unity8.Greeter" gettext-domain="unity8">
53 <schema path="/com/canonical/unity8/greeter/" id="com.canonical.Unity8.Greeter" gettext-domain="unity8">
qml/Shell.qml+1
@@ -585,6 +585,7 @@ StyledItem {
585 && (!greeter.locked || AccountsService.enableLauncherWhileLocked)
585 && (!greeter.locked || AccountsService.enableLauncherWhileLocked)
586 && !greeter.hasLockedApp
586 && !greeter.hasLockedApp
587 && !shell.waitingOnGreeter
587 && !shell.waitingOnGreeter
588+ && settings.enableLauncher
588 inverted: shell.usageScenario !== "desktop"
589 inverted: shell.usageScenario !== "desktop"
589 superPressed: physicalKeysMapper.superPressed
590 superPressed: physicalKeysMapper.superPressed
590 superTabPressed: physicalKeysMapper.superTabPressed
591 superTabPressed: physicalKeysMapper.superTabPressed