aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2020-12-05 21:23:41 +0100
committer Eric Hameleers <alien@slackware.com>2020-12-05 21:23:41 +0100
commit75e3df8cc4bb3a55e339946b959e162c73160480 (patch)
tree6112dc863051f224d7fb427169a9cffc85cfb996
parent61564dcc6ccd70ebf922cd001c5d22e15591e59a (diff)
downloadliveslak-75e3df8cc4bb3a55e339946b959e162c73160480.tar.gz
liveslak-75e3df8cc4bb3a55e339946b959e162c73160480.tar.xz
PLASMA5: start konsole with a login shell
-rwxr-xr-xmake_slackware_live.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 6e14d93..9d62f19 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -2253,6 +2253,21 @@ alreadyMigrated=true
KWALLET_EOL
+ # Start Konsole with a login shell:
+ mkdir -p ${LIVE_ROOTDIR}/etc/skel/.local/share/konsole
+ cat <<EOT > ${LIVE_ROOTDIR}/etc/skel/.local/share/konsole/Shell.profile
+[General]
+Command=/bin/bash -l
+Name=Shell
+Parent=FALLBACK/
+EOT
+ mkdir -p ${LIVE_ROOTDIR}/etc/skel/.config
+ cat <<EOT >> ${LIVE_ROOTDIR}/etc/skel/.config/konsolerc
+[Desktop Entry]
+DefaultProfile=Shell.profile
+
+EOT
+
# Configure (default) UTC timezone so we can change it during boot:
mkdir -p ${LIVE_ROOTDIR}/etc/skel/.config
cat <<EOTZ > ${LIVE_ROOTDIR}/etc/skel/.config/ktimezonedrc