2018-06-28 02:46:28 +02:00
|
|
|
#!/bin/sh -xe
|
|
|
|
|
|
|
|
#Setup locales
|
|
|
|
apt install -y locales
|
|
|
|
#Install xfce, wicd
|
2018-08-23 21:43:20 +02:00
|
|
|
apt install -y xorg acpi-support lightdm tasksel dpkg librsvg2-common xorg xserver-xorg-input-libinput alsa-utils anacron avahi-daemon eject iw libnss-mdns xdg-utils lxqt wicd-daemon wicd wicd-curses wicd-gtk xserver-xorg-input-synaptics
|
2018-06-28 02:46:28 +02:00
|
|
|
#Copy in acpi, pulse audio, trackpad settings, funtion key settings
|
|
|
|
cp -rf /os_configs/default.pa /etc/pulse/default.pa
|
|
|
|
mkdir /etc/acpi
|
2018-06-30 22:08:35 +02:00
|
|
|
cp -rf /os_configs/sound.sh /etc/acpi/sound.sh
|
|
|
|
mkdir /etc/acpi/events
|
|
|
|
cp -rf /os_configs/headphone-acpi-toggle /etc/acpi/events/headphone-acpi-toggle
|
2018-06-28 02:46:28 +02:00
|
|
|
mkdir /etc/X11/xorg.conf.d/
|
|
|
|
cp -rf /os_configs/50-synaptics.conf /etc/X11/xorg.conf.d/
|
|
|
|
|
2018-06-30 22:08:35 +02:00
|
|
|
locale-gen
|
|
|
|
|
2018-08-23 21:43:20 +02:00
|
|
|
echo " Enter new username: "
|
2018-06-30 22:08:35 +02:00
|
|
|
read username
|
|
|
|
adduser $username
|
|
|
|
usermod -a -G sudo,netdev $username
|
|
|
|
|
|
|
|
|
2018-06-28 02:46:28 +02:00
|
|
|
reboot
|