summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-01-01 23:38:30 +0100
committer Eric Hameleers <alien@slackware.com>2017-01-01 23:38:30 +0100
commit87f770523e1397209b93c5ac6f311f4ddeecc33f (patch)
treed1b62d62ea6703e50cb6299ac60db8057547bea5 /make_slackware_live.sh
parentd68ea8a85d0ef3f7aaaf9ce2bf7bc7da5480e449 (diff)
downloadliveslak-87f770523e1397209b93c5ac6f311f4ddeecc33f.tar.gz
liveslak-87f770523e1397209b93c5ac6f311f4ddeecc33f.tar.xz
DLACK: Add console keymap default setting for localectl.
In the hope that this makes gnome-terminal start finally.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 62e8cf5..b58b795 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1129,7 +1129,9 @@ if grep -q "^ *export LANG=" ${LIVE_ROOTDIR}/etc/profile.d/lang.sh ; then
else
echo "export LANG=en_US.UTF-8" >> ${LIVE_ROOTDIR}/etc/profile.d/lang.sh
fi
+# Does not hurt to also add systemd compatible configuration:
echo "LANG=en_US.UTF-8" > ${LIVE_ROOTDIR}/etc/locale.conf
+echo "KEYMAP=us" > ${LIVE_ROOTDIR}/etc/vconsole.conf
# Set timezone to UTC:
cp -a ${LIVE_ROOTDIR}/usr/share/zoneinfo/UTC ${LIVE_ROOTDIR}/etc/localtime