diff options
Diffstat (limited to 'provision/desktop-basic')
-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 |