From 4d9d047e3c22c8fd6c43156645b09b72afcca8eb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 8 Aug 2016 13:01:55 +0100 Subject: [PATCH] Set initial keyboard map for mesh client --- src/freedombone-image-customise | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index af1413b4..779a6bbc 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -106,6 +106,9 @@ MESH_INSTALL_DIR=/var/lib # a new identity at every shutdown/boot AMNESIC='no' +# defines the initial keyboard layout +KEYBOARD_MAP='gb' + enable_eatmydata_override() { chroot $rootdir apt-get install --no-install-recommends -y eatmydata if [ -x $rootdir/usr/bin/eatmydata ] && \ @@ -579,6 +582,7 @@ function mesh_client_startup_applications { START_DESKTOP=$rootdir/home/$MY_USERNAME/mesh-desktop.sh FIRST_BOOT=/home/$MY_USERNAME/.first_boot echo '#!/bin/bash' > $START_DESKTOP + echo "setxkbmap ${KEYBOARD_MAP}" > $START_DESKTOP echo 'dconf write /org/mate/caja/desktop/volumes-visible false' >> $START_DESKTOP echo 'dconf write /org/mate/caja/desktop/computer-icon-visible false' >> $START_DESKTOP echo 'dconf write /org/mate/caja/desktop/home-icon-visible false' >> $START_DESKTOP