From b25353e87fbf6b21ff6112f24262eb93195fd1ec Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 10 Mar 2017 00:34:57 -0300 Subject: More configs at desktop basic provisioner --- provision/desktop-basic | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'provision') diff --git a/provision/desktop-basic b/provision/desktop-basic index e068cfb..8567474 100755 --- a/provision/desktop-basic +++ b/provision/desktop-basic @@ -5,19 +5,35 @@ # Parameters DIRNAME="`dirname $0`" +APT_INSTALL="LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y" + +cat <<-EOF | sudo tee /etc/default/keyboard > /dev/null +# KEYBOARD CONFIGURATION FILE + +# Consult the keyboard(5) manual page. + +XKBMODEL="abnt2" +XKBLAYOUT="br" +XKBVARIANT="thinkpad" +XKBOPTIONS="compose:ralt,terminate:ctrl_alt_bksp" + +BACKSPACE="guess" +EOF # Dependencies sudo apt-get update -sudo apt-get install -y git +$APT_INSTALL git # Tools -git clone --recursive https://git.fluxo.info/rhatto/apps +if [ ! -e "$apps" ]; then + git clone --recursive https://git.fluxo.info/rhatto/apps +fi + apps/inception init apps/inception load # Environment -sudo apt-get install -y lightdm ratpoison awesome -sudo apt-get install -y firefox-esr chromium +$APT_INSTALL lightdm ratpoison awesome firefox-esr chromium # Configuration sudo cp $DIRNAME/files/etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf -- cgit v1.2.3