diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-10 00:34:57 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-10 00:34:57 -0300 |
commit | b25353e87fbf6b21ff6112f24262eb93195fd1ec (patch) | |
tree | 5d35591771311cfad89bea086d5256b4d683bb85 | |
parent | 5614d7b8d387cf5ddeec7c9ba8e37d7946f1f360 (diff) | |
download | kvmx-b25353e87fbf6b21ff6112f24262eb93195fd1ec.tar.gz kvmx-b25353e87fbf6b21ff6112f24262eb93195fd1ec.tar.bz2 |
More configs at desktop basic provisioner
-rwxr-xr-x | provision/desktop-basic | 24 |
1 files changed, 20 insertions, 4 deletions
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 |