Advertisement
emkay443

Untitled

Jan 24th, 2020
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.09 KB | None | 0 0
  1. #!/bin/bash
  2. echo -e "\e[1m\e[92m### SET GERMAN KEYBOARD LAYOUT AND LOCALE ###\e[0m"
  3. loadkeys de
  4. echo "Press any key to continue"
  5. read -n 1
  6. nano /etc/locale.gen
  7. locale-gen
  8. localectl set-locale LANG=de_DE.UTF-8
  9. localectl set-x11-keymap de
  10. echo -e "\e[1m\e[92m### ENABLE [multilib] REPO ###\e[0m"
  11. echo "Press any key to continue"
  12. read -n 1 any
  13. vi /etc/pacman.conf
  14. echo -e "\e[1m\e[92m### INSTALLING PACKAGES ###\e[0m"
  15. 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
  16. systemctl enable NetworkManager sddm org.cups.cupsd sshd systemd-timesyncd
  17. pacman -U ttf-ms-win10*.tar.xz
  18. echo -e "\e[1m\e[92m### ADDING USER ###\e[0m"
  19. useradd -d /home/lucy -m -s /bin/bash lucy
  20. passwd lucy
  21. sudo -u lucy -- sh -c 'xdg-user-dirs-update'
  22. echo -e "\e[1m\e[92m### ENABLE wheel GROUP FOR SUDO ###\e[0m"
  23. echo "Press any key to continue"
  24. read -n 1 any
  25. visudo
  26. usermod -aG wheel lucy
  27. echo -e "\e[1m\e[92m### MAKE INITRAMFS AND ENABLE GRUB ###\e[0m"
  28. mkinitcpio -p linux
  29. grub-install /dev/sda
  30. grub-mkconfig -o /boot/grub/grub.cfg
  31. echo -e "\e[1m\e[92m### PUT THE FOLLOWING IN autologin.conf FOR AUTOLOGIN ###\e[0m"
  32. echo ""
  33. echo "[Autologin]"
  34. echo "User=lucy"
  35. echo "Session=plasma.desktop"
  36. echo ""
  37. echo "Press any key to continue"
  38. read -n 1 any
  39. nano /etc/sddm.conf.d/autologin.conf
  40. echo -e "\e[1m\e[92m### INSTALLING yay AND AUR PACKAGES ###\e[0m"
  41. sudo -u lucy -- sh -c 'cd /tmp; git clone https://aur.archlinux.org/yay.git; cd yay; makepkg -si; yay -S teamviewer'
  42. systemctl enable teamviewerd
  43. echo -e "\e[1m\e[92m### REBOOT? ###\e[0m"
  44. echo "Press any key to continue"
  45. read -n 1 any
  46. reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement