[neon/neon/calamares-settings/Neon/release-lts] oem-prepare/calamares/oem-prepare/prepare-user/oem-lnf/contents/layouts: force taskmanager to not inject launchers

Harald Sitter null at kde.org
Thu Jan 14 13:25:40 GMT 2021


Git commit 5ae2467f06484f314ed1e9772efa5a552bdafd61 by Harald Sitter.
Committed on 14/01/2021 at 12:49.
Pushed by sitter into branch 'Neon/release-lts'.

force taskmanager to not inject launchers

M  +5    -2    oem-prepare/calamares/oem-prepare/prepare-user/oem-lnf/contents/layouts/org.kde.plasma.desktop-layout.js

https://invent.kde.org/neon/neon/calamares-settings/commit/5ae2467f06484f314ed1e9772efa5a552bdafd61

diff --git a/oem-prepare/calamares/oem-prepare/prepare-user/oem-lnf/contents/layouts/org.kde.plasma.desktop-layout.js b/oem-prepare/calamares/oem-prepare/prepare-user/oem-lnf/contents/layouts/org.kde.plasma.desktop-layout.js
index 33eb2e0..cf1c7f8 100644
--- a/oem-prepare/calamares/oem-prepare/prepare-user/oem-lnf/contents/layouts/org.kde.plasma.desktop-layout.js
+++ b/oem-prepare/calamares/oem-prepare/prepare-user/oem-lnf/contents/layouts/org.kde.plasma.desktop-layout.js
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
-// SPDX-FileCopyrightText: 2018 Harald Sitter <sitter at kde.org>
+// SPDX-FileCopyrightText: 2018-2021 Harald Sitter <sitter at kde.org>
 
 var plasma = getApiVersion(1);
 
@@ -39,5 +39,8 @@ plasma.loadSerializedLayout(layout);
 // bare minimum to do network management. Sucks a bit but oh well.
 var panel = new Panel
 panel.location = 'bottom'
-panel.addWidget('org.kde.plasma.taskmanager')
+var taskmanager = panel.addWidget('org.kde.plasma.taskmanager')
+// Fuck off with them launchers. They litterally break the way OEM is meant to work (= no extra apps!)
+taskmanager.writeConfig("launchers", "")
+taskmanager.reloadConfig()
 panel.addWidget('org.kde.plasma.networkmanagement')



More information about the Neon-commits mailing list