[neon/neon/calamares-settings/Neon/release-lts] oem-prepare/calamares/oem-prepare/prepare-system: disable all testing options on the oem session

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


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

disable all testing options on the oem session

M  +6    -7    oem-prepare/calamares/oem-prepare/prepare-system/calamares-oem-prepare-root

https://invent.kde.org/neon/neon/calamares-settings/commit/16b61bc2540ba0d59afcbce8633dd9c07ea83984

diff --git a/oem-prepare/calamares/oem-prepare/prepare-system/calamares-oem-prepare-root b/oem-prepare/calamares/oem-prepare/prepare-system/calamares-oem-prepare-root
index 3fab9cc..efbb13c 100755
--- a/oem-prepare/calamares/oem-prepare/prepare-system/calamares-oem-prepare-root
+++ b/oem-prepare/calamares/oem-prepare/prepare-system/calamares-oem-prepare-root
@@ -1,5 +1,5 @@
 #!/bin/sh
-# SPDX-FileCopyrightText: 2018 Harald Sitter <sitter at kde.org>
+# SPDX-FileCopyrightText: 2018-2021 Harald Sitter <sitter at kde.org>
 # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
 
 # FIXME: oem-config.service is actually not used and silly for us?
@@ -9,14 +9,13 @@ set -ex
 cd `dirname "$(realpath $0)"`
 
 # Set pretty much all restrictions possible.
-# FIXME: some options are left enabled for debugging during development!
-#   kwin_rmb too is explicitly enabled!
+# For testing it'd be useful to enable logout, run_command, shell_access and possibly kwin_rmb
 cat << EOT >>/etc/xdg/kdeglobals
 [KDE Action Restrictions][\$i]
 action/lock_screen=false
-#logout=false
-#run_command=false
-#shell_access=false
+logout=false
+run_command=false
+shell_access=false
 action/start_new_session=false
 action/switch_user=false
 plasma/allow_configure_when_locked=false
@@ -26,7 +25,7 @@ plasma-desktop/scripting_console=false
 plasma-desktop/add_activities=false
 action/kdesktop_rmb=false
 action/configdesktop=false
-action/kwin_rmb=true
+action/kwin_rmb=false
 EOT
 
 # Make sure autologin and relogin on logout is enabled so we always get back


More information about the Neon-commits mailing list