Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo -e "\e[1m\e[92m### SET GERMAN KEYBOARD LAYOUT AND LOCALE ###\e[0m"
- loadkeys de
- echo "Press any key to continue"
- read -n 1
- nano /etc/locale.gen
- locale-gen
- localectl set-locale LANG=de_DE.UTF-8
- localectl set-x11-keymap de
- echo -e "\e[1m\e[92m### ENABLE [multilib] REPO ###\e[0m"
- echo "Press any key to continue"
- read -n 1 any
- vi /etc/pacman.conf
- echo -e "\e[1m\e[92m### INSTALLING PACKAGES ###\e[0m"
- pacman -Syy --needed nvidia-dkms nvidia-utils nvidia-settings lib32-libvdpau lib32-nvidia-utils xorg-server xorg-xauth plasma-meta firefox thunderbird libreoffice-fresh vlc pulseaudio pavucontrol pasystray networkmanager networkmanager-qt network-manager-applet nm-connection-editor openssh wget htop curl fish nano vim k3b gimp sddm sddm-kcm cups autossh sshfs simple-scan steam wine winetricks kwallet kwallet-pam gparted git make arandr ttf-dejavu ttf-droid ttf-liberation ttf-linux-libertine ttf-roboto ttf-ubuntu-font-family keepassxc grub xdg-user-dirs xdg-utils nextcloud-client
- systemctl enable NetworkManager sddm org.cups.cupsd sshd systemd-timesyncd
- pacman -U ttf-ms-win10*.tar.xz
- echo -e "\e[1m\e[92m### ADDING USER ###\e[0m"
- useradd -d /home/lucy -m -s /bin/bash lucy
- passwd lucy
- sudo -u lucy -- sh -c 'xdg-user-dirs-update'
- echo -e "\e[1m\e[92m### ENABLE wheel GROUP FOR SUDO ###\e[0m"
- echo "Press any key to continue"
- read -n 1 any
- visudo
- usermod -aG wheel lucy
- echo -e "\e[1m\e[92m### MAKE INITRAMFS AND ENABLE GRUB ###\e[0m"
- mkinitcpio -p linux
- grub-install /dev/sda
- grub-mkconfig -o /boot/grub/grub.cfg
- echo -e "\e[1m\e[92m### PUT THE FOLLOWING IN autologin.conf FOR AUTOLOGIN ###\e[0m"
- echo ""
- echo "[Autologin]"
- echo "User=lucy"
- echo "Session=plasma.desktop"
- echo ""
- echo "Press any key to continue"
- read -n 1 any
- nano /etc/sddm.conf.d/autologin.conf
- echo -e "\e[1m\e[92m### INSTALLING yay AND AUR PACKAGES ###\e[0m"
- sudo -u lucy -- sh -c 'cd /tmp; git clone https://aur.archlinux.org/yay.git; cd yay; makepkg -si; yay -S teamviewer'
- systemctl enable teamviewerd
- echo -e "\e[1m\e[92m### REBOOT? ###\e[0m"
- echo "Press any key to continue"
- read -n 1 any
- reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement