Set initial keyboard map for mesh client

This commit is contained in:
Bob Mottram 2016-08-08 13:01:55 +01:00
parent 93b20c01c0
commit 4d9d047e3c
No known key found for this signature in database
GPG Key ID: 0452CC7CEA982E38
1 changed files with 4 additions and 0 deletions

View File

@ -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