From d6eb36a1cd60174f2d9914f667402ab76e35e50d Mon Sep 17 00:00:00 2001
From: jean-michel <jean-michel@obarun.org>
Date: Mon, 8 Apr 2019 15:36:51 +0200
Subject: [PATCH] add .xinitrc for startx command line

---
 plasma/customizeChroot | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/plasma/customizeChroot b/plasma/customizeChroot
index b01859a..bbdcafd 100755
--- a/plasma/customizeChroot
+++ b/plasma/customizeChroot
@@ -105,6 +105,12 @@ EOF"
 66-all -t gui down
 sleep 01
 66-all -t gui up
+EOF"
+
+    out_action "Create ${NEWUSER} .xinitrc file"
+    su "${NEWUSER}" -c "cat > /home/${NEWUSER}/.xinitrc <<EOF
+## Uncomment if you use startx command line to launch plasma DE
+#exec startkde
 EOF"
 }
 custo_once config_user
-- 
GitLab