Set initial keyboard map for mesh client
This commit is contained in:
parent
93b20c01c0
commit
4d9d047e3c
|
@ -106,6 +106,9 @@ MESH_INSTALL_DIR=/var/lib
|
||||||
# a new identity at every shutdown/boot
|
# a new identity at every shutdown/boot
|
||||||
AMNESIC='no'
|
AMNESIC='no'
|
||||||
|
|
||||||
|
# defines the initial keyboard layout
|
||||||
|
KEYBOARD_MAP='gb'
|
||||||
|
|
||||||
enable_eatmydata_override() {
|
enable_eatmydata_override() {
|
||||||
chroot $rootdir apt-get install --no-install-recommends -y eatmydata
|
chroot $rootdir apt-get install --no-install-recommends -y eatmydata
|
||||||
if [ -x $rootdir/usr/bin/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
|
START_DESKTOP=$rootdir/home/$MY_USERNAME/mesh-desktop.sh
|
||||||
FIRST_BOOT=/home/$MY_USERNAME/.first_boot
|
FIRST_BOOT=/home/$MY_USERNAME/.first_boot
|
||||||
echo '#!/bin/bash' > $START_DESKTOP
|
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/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/computer-icon-visible false' >> $START_DESKTOP
|
||||||
echo 'dconf write /org/mate/caja/desktop/home-icon-visible false' >> $START_DESKTOP
|
echo 'dconf write /org/mate/caja/desktop/home-icon-visible false' >> $START_DESKTOP
|
||||||
|
|
Loading…
Reference in New Issue