diff --git a/system_setup/logon_script.sh b/system_setup/logon_script.sh index a2431cb..b6f1adf 100755 --- a/system_setup/logon_script.sh +++ b/system_setup/logon_script.sh @@ -33,11 +33,7 @@ fi #TODO C: Check if Desktop is KDE/Plasma and support other Displays # Make kdesu use sudo -kwriteconfig5 --file kdesurc --group super-user-command --key super-user-command sudo -if [ $? -ne 0 ]; then - elog_add "This script should be run in KDE- Desktop. The setup of kwriteconfig5 has failed. Please check, if you are using KDE." - echo "Press any key to continue" && read -n 1 -s -r && exit 1 -fi +kwriteconfig5 --file kdesurc --group super-user-command --key super-user-command sudo >/dev/null 2>&1 # Mount the private Directory elog_add_command "${SYSCONFIGPATH}/system_setup/mount_ecrypt_home.sh"