From 934ba0f82424583b19dcdd793b57eacbd164fb09 Mon Sep 17 00:00:00 2001 From: Neta Yahav Date: Wed, 17 Nov 2021 15:39:57 -0500 Subject: [PATCH 1/8] Fix comments for 0-preinstall.sh --- 0-preinstall.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/0-preinstall.sh b/0-preinstall.sh index d789a3a..6e3698b 100755 --- a/0-preinstall.sh +++ b/0-preinstall.sh @@ -119,16 +119,16 @@ echo "-- Check for low memory systems <8G --" echo "--------------------------------------" TOTALMEM=$(cat /proc/meminfo | grep -i 'memtotal' | grep -o '[[:digit:]]*') if [[ $TOTALMEM -lt 8000000 ]]; then - #Put swap into the actual system, not into RAM disk, otherwise there is no point in it, it'll cache RAM into RAM. So, /mnt/ everything. - mkdir /mnt/opt/swap #make a dir that we can apply NOCOW to to make it btrfs-friendly. - chattr +C /mnt/opt/swap #apply NOCOW, btrfs needs that. + # Put swap into the actual system, not into RAM disk, otherwise there is no point in it, it'll cache RAM into RAM. So, /mnt/ everything. + mkdir /mnt/opt/swap # make a dir that we can apply NOCOW to to make it btrfs-friendly. + chattr +C /mnt/opt/swap # apply NOCOW, btrfs needs that. dd if=/dev/zero of=/mnt/opt/swap/swapfile bs=1M count=2048 status=progress - chmod 600 /mnt/opt/swap/swapfile #set permissions. + chmod 600 /mnt/opt/swap/swapfile # set permissions. chown root /mnt/opt/swap/swapfile mkswap /mnt/opt/swap/swapfile swapon /mnt/opt/swap/swapfile - #The line below is written to /mnt/ but doesn't contain /mnt/, since it's just / for the sysytem itself. - echo "/opt/swap/swapfile none swap sw 0 0" >> /mnt/etc/fstab #Add swap to fstab, so it KEEPS working after installation. + # The line below is written to /mnt/ but doesn't contain /mnt/, since it's just / for the system itself. + echo "/opt/swap/swapfile none swap sw 0 0" >> /mnt/etc/fstab # Add swap to fstab, so it KEEPS working after installation. fi echo "--------------------------------------" echo "-- SYSTEM READY FOR 1-setup --" From ad7e0a444eaf8b859c55ecebf45bf91c98df9696 Mon Sep 17 00:00:00 2001 From: theflu Date: Thu, 18 Nov 2021 09:21:22 -0500 Subject: [PATCH 2/8] Make the username lowercase --- 1-setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/1-setup.sh b/1-setup.sh index 73904f1..8f1ca17 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -237,6 +237,10 @@ fi echo -e "\nDone!\n" if ! source install.conf; then read -p "Please enter username:" username + +# Make username lowercase +username=${username,,} + echo "username=$username" >> ${HOME}/ArchTitus/install.conf fi if [ $(whoami) = "root" ]; From 6ed927ddaa4cd311d1c4e9ecef4bb86868911029 Mon Sep 17 00:00:00 2001 From: Zazucki <15333796+Zazucki@users.noreply.github.com> Date: Thu, 18 Nov 2021 16:27:50 -0800 Subject: [PATCH 3/8] Added links to USB writer tools Also added Rufus as a recommendation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 165f03a..7af29bc 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This README contains the steps I do to install and configure a fully-functional --- ## Create Arch ISO or Use Image -Download ArchISO from and put on a USB drive with Ventoy or Etcher +Download ArchISO from and put on a USB drive with [Etcher](https://www.balena.io/etcher/), [Ventoy](https://www.ventoy.net/en/index.html), or [Rufus](https://rufus.ie/en/) If you don't want to build using this script I did create an image @ From aa936c63f385038670563cb673d06c17d16ffc0a Mon Sep 17 00:00:00 2001 From: Jiaqi Li Date: Sun, 21 Nov 2021 11:10:04 -0800 Subject: [PATCH 4/8] Make parallel download change more readable. --- 0-preinstall.sh | 2 +- 1-setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/0-preinstall.sh b/0-preinstall.sh index d789a3a..f3709ee 100755 --- a/0-preinstall.sh +++ b/0-preinstall.sh @@ -15,7 +15,7 @@ iso=$(curl -4 ifconfig.co/country-iso) timedatectl set-ntp true pacman -S --noconfirm pacman-contrib terminus-font setfont ter-v22b -sed -i 's/^#Para/Para/' /etc/pacman.conf +sed -i 's/^#ParallelDownloads/ParallelDownloads/' /etc/pacman.conf pacman -S --noconfirm reflector rsync grub cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup echo -e "-------------------------------------------------------------------------" diff --git a/1-setup.sh b/1-setup.sh index 73904f1..f61ec93 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -45,7 +45,7 @@ localectl --no-ask-password set-keymap us sed -i 's/^# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers #Add parallel downloading -sed -i 's/^#Para/Para/' /etc/pacman.conf +sed -i 's/^#ParallelDownloads/ParallelDownloads/' /etc/pacman.conf #Enable multilib sed -i "/\[multilib\]/,/Include/"'s/^#//' /etc/pacman.conf From 683d3e62c4b23e4fea79a619bc332184ffba9fed Mon Sep 17 00:00:00 2001 From: Pavel Allahverdov <95222382+x-crowbar-x@users.noreply.github.com> Date: Sat, 4 Dec 2021 18:19:39 +0300 Subject: [PATCH 5/8] added instructions on how to unblock wifi The WiFi is always blocked when I try to install Arch or do whatever in chroot from the flash drive and the rfkill command helps with that. Maybe this will be helpful for someone else. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 7af29bc..143d5d9 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,11 @@ __[Arch Linux Installation Guide](https://github.com/rickellis/Arch-Linux-Instal ### No Wifi +You can check if the WiFi is blocked by running `rfkill list`. +If it says **Soft blocked: yes**, then run `rfkill unblock wifi` + +After unblocking the WiFi, you can connect to it. Go through these 5 steps: + #1: Run `iwctl` #2: Run `device list`, and find your device name. From dd54b6aa5ca251d4b4fc16f636004e3dd0d67a39 Mon Sep 17 00:00:00 2001 From: DerryPlaysXd <54913019+DerryPlaysXd@users.noreply.github.com> Date: Fri, 10 Dec 2021 01:58:08 +0100 Subject: [PATCH 6/8] exfat-utils >> exfatprogs exfat-utils no longer work. To mount an exfat drive exfatprogs are needed --- 1-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-setup.sh b/1-setup.sh index 73904f1..c66ff6b 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -94,7 +94,7 @@ PKGS=( 'dtc' 'efibootmgr' # EFI boot 'egl-wayland' -'exfat-utils' +'exfatprogs' 'extra-cmake-modules' 'filelight' 'flex' From a4169d71b247b1452e181ed2b5ad7d27d03cc2d6 Mon Sep 17 00:00:00 2001 From: localfiend <68936671+localfiend@users.noreply.github.com> Date: Fri, 10 Dec 2021 13:18:34 -0800 Subject: [PATCH 7/8] Descriptions for all packages to install Also removed one instance of kscreen. It was in the list twice. --- 1-setup.sh | 281 ++++++++++++++++++++++++++--------------------------- 1 file changed, 140 insertions(+), 141 deletions(-) diff --git a/1-setup.sh b/1-setup.sh index 73904f1..3b7fbe8 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -54,152 +54,151 @@ pacman -Sy --noconfirm echo -e "\nInstalling Base System\n" PKGS=( -'mesa' # Essential Xorg First -'xorg' -'xorg-server' -'xorg-apps' -'xorg-drivers' -'xorg-xkill' -'xorg-xinit' -'xterm' +'mesa' # Essential Xorg First - An open-source implementation of the OpenGL specification +'xorg' # Display Server Meta Package +'xorg-server' # Display Server +'xorg-apps' # Applications for xorg Display Server +'xorg-drivers' # Video Drivers +'xorg-xkill' # Tools to Kill X Processes +'xorg-xinit' # Program to manually start X Display Server +'xterm' # Standard Terminal Emulator 'plasma-desktop' # KDE Load second -'alsa-plugins' # audio plugins -'alsa-utils' # audio utils -'ark' # compression -'audiocd-kio' -'autoconf' # build -'automake' # build -'base' -'bash-completion' -'bind' -'binutils' -'bison' -'bluedevil' -'bluez' -'bluez-libs' -'bluez-utils' -'breeze' -'breeze-gtk' -'bridge-utils' -'btrfs-progs' -'celluloid' # video players -'cmatrix' +'alsa-plugins' # Audio Plugins +'alsa-utils' # Audio Utilities +'ark' # File Compression +'audiocd-kio' # KDE Audio CD Reading +'autoconf' # A GNU tool for automatically configuring source code +'automake' # A GNU tool for automatically creating Makefiles +'base' # Minimal package set to define a basic Arch Linux installation +'bash-completion' # Tab Complete commands, filenames, variables +'bind' # DNS Server +'binutils' # A set of programs to assemble and manipulate binary and object files +'bison' # GNU Parser Generator - Compiler +'bluedevil' # Bluetooth tech for KDE +'bluez' # Bluetooth Daemons +'bluez-libs' # Deprecated libraries for the bluetooth protocol stack +'bluez-utils' # Development and debugging utilities for the bluetooth protocol stack +'breeze' # Theme for KDE Plasma +'breeze-gtk' # Widget Theme +'bridge-utils' # Utilities for configuring the Linux ethernet bridge +'btrfs-progs' # Btrfs filesystem utilities +'celluloid' # Video Player - MPV Frontend +'cmatrix' # Scrolling Lines from Matrix Movie 'code' # Visual Studio code -'cronie' -'cups' -'dialog' -'discover' -'dolphin' -'dosfstools' -'dtc' +'cronie' # Daemon that runs specified programs at scheduled times and related tools +'cups' # Open Source Printing System +'dialog' # A tool to display dialog boxes from shell scripts +'discover' # KDE and Plasma resources management GUI +'dolphin' # Default File Manager for KDE +'dosfstools' # DOS filesystem utilities +'dtc' # Device Tree Compiler 'efibootmgr' # EFI boot -'egl-wayland' -'exfat-utils' -'extra-cmake-modules' -'filelight' -'flex' -'fuse2' -'fuse3' -'fuseiso' -'gamemode' -'gcc' +'egl-wayland' # EGLStream-based Wayland external platform - Video Driver Stuff +'exfat-utils' # Utilities for exFAT file system +'extra-cmake-modules' # Extra modules and scripts for CMake (A cross-platform open-source make system) +'filelight' # View disk usage information +'flex' # Tool for generating scanners: programs which recognize lexical patterns in text (For Compilers) +'fuse2' # A library that makes it possible to implement a filesystem in a userspace program (Filesystem in userspace) +'fuse3' # A library that makes it possible to implement a filesystem in a userspace program (Filesystem in userspace) +'fuseiso' # FUSE module to let unprivileged users mount ISO filesystem images +'gamemode' # daemon/lib combo for Linux that allows games to request a set of optimisations be temporarily applied to the host OS and/or a game process +'gcc' # GNU Compiler Collection - C and C++ frontends 'gimp' # Photo editing -'git' -'gparted' # partition management -'gptfdisk' -'grub' -'grub-customizer' -'gst-libav' -'gst-plugins-good' -'gst-plugins-ugly' -'gwenview' -'haveged' -'htop' -'iptables-nft' +'git' # Version Control System to Maintain AUR Packages +'gparted' # A Partition Magic clone, frontend to GNU Parted +'gptfdisk' # A text-mode partitioning tool that works on GUID Partition Table (GPT) disks +'grub' # GNU GRand Unified Bootloader +'grub-customizer' # A graphical grub2 settings manager +'gst-libav' # Multimedia graph framework - libav plugin +'gst-plugins-good' # Multimedia graph framework - good plugins +'gst-plugins-ugly' # Multimedia graph framework - ugly plugins +'gwenview' # Image Viewer +'haveged' # Random Number Generator +'htop' # Interactive process viewer +'iptables-nft' # Linux kernel packet control tool (using nft interface) 'jdk-openjdk' # Java 17 -'kate' -'kcodecs' -'kcoreaddons' -'kdeplasma-addons' -'kde-gtk-config' -'kinfocenter' -'kscreen' -'kvantum-qt5' -'kitty' -'konsole' -'kscreen' -'layer-shell-qt' -'libdvdcss' -'libnewt' -'libtool' -'linux' -'linux-firmware' -'linux-headers' -'lsof' -'lutris' -'lzop' -'m4' -'make' -'milou' -'nano' -'neofetch' -'networkmanager' -'ntfs-3g' -'ntp' -'okular' -'openbsd-netcat' -'openssh' -'os-prober' -'oxygen' -'p7zip' -'pacman-contrib' -'patch' -'picom' -'pkgconf' -'plasma-meta' -'plasma-nm' -'powerdevil' -'powerline-fonts' -'print-manager' -'pulseaudio' -'pulseaudio-alsa' -'pulseaudio-bluetooth' -'python-notify2' -'python-psutil' -'python-pyqt5' -'python-pip' -'qemu' -'rsync' -'sddm' -'sddm-kcm' -'snapper' -'spectacle' -'steam' -'sudo' -'swtpm' -'synergy' -'systemsettings' -'terminus-font' -'traceroute' -'ufw' -'unrar' -'unzip' -'usbutils' -'vim' -'virt-manager' -'virt-viewer' -'wget' -'which' -'wine-gecko' -'wine-mono' -'winetricks' -'xdg-desktop-portal-kde' -'xdg-user-dirs' -'zeroconf-ioslave' -'zip' -'zsh' -'zsh-syntax-highlighting' -'zsh-autosuggestions' +'kate' # Gui Text Editor +'kcodecs' # Provide a collection of methods to manipulate strings using various encodings -KDE +'kcoreaddons' # Addons to QtCore -KDE +'kdeplasma-addons' # All kind of addons to improve your Plasma experience +'kde-gtk-config' # GTK2 and GTK3 Configurator for KDE +'kinfocenter' # A utility that provides information about a computer system +'kscreen' # KDE screen management software +'kvantum-qt5' # SVG-based theme engine for Qt5 (including config tool and extra themes) +'kitty' # OpenGL based terminal emulator with TrueColor, ligatures support, protocol extensions for keyboard input and image rendering +'konsole' # KDE terminal emulator +'layer-shell-qt' # Qt component to allow applications to make use of the Wayland wl-layer-shell protocol +'libdvdcss' # Portable abstraction library for DVD decryption +'libnewt' # Not Erik's Windowing Toolkit - text mode windowing with slang +'libtool' # A generic library support script +'linux' # The Linux kernel and modules +'linux-firmware' # Firmware files for Linux +'linux-headers' # Headers and scripts for building modules for the Linux kernel +'lsof' # Lists open files for running Unix processes +'lutris' # Open Gaming Platform +'lzop' # File Compressor very similar to gzip +'m4' # The GNU macro processor +'make' # GNU make utility to maintain groups of programs +'milou' # A dedicated search application built on top of Baloo +'nano' # Command Line Text Editor +'neofetch' # A CLI system information tool written in BASH that supports displaying images +'networkmanager' # Network connection manager and user applications +'ntfs-3g' # NTFS filesystem driver and utilities +'ntp' # Network Time Protocol reference implementation +'okular' # GUI Document Viewer +'openbsd-netcat' # TCP/IP swiss army knife. OpenBSD variant +'openssh' # SSH remote login server +'os-prober' # Utility to detect other OSes on a set of drives +'oxygen' # KDE Style +'p7zip' # Command-line file archiver with high compression ratio +'pacman-contrib' # Contributed scripts and tools for pacman systems +'patch' # A utility to apply patch files to original sources +'picom' # X compositor that may fix tearing issues +'pkgconf' # Package compiler and linker metadata toolkit +'plasma-meta' # Meta package to install KDE Plasma +'plasma-nm' # Plasma applet written in QML for managing network connections +'powerdevil' # Manages the power consumption settings of a Plasma Shell +'powerline-fonts' # patched fonts for powerline +'print-manager' # A tool for managing print jobs and printers +'pulseaudio' # A featureful, general-purpose sound server +'pulseaudio-alsa' # Advanced Linux Sound Architecture (ALSA) Configuration for PulseAudio +'pulseaudio-bluetooth' # Bluetooth support for PulseAudio +'python-notify2' # Python interface to DBus notifications +'python-psutil' # A cross-platform process and system utilities module for Python +'python-pyqt5' # A set of Python bindings for the Qt5 toolkit +'python-pip' # The PyPA recommended tool for installing Python packages +'qemu' # A generic and open source machine emulator and virtualizer +'rsync' # A fast and versatile file copying tool for remote and local files +'sddm' # QML based X11 and Wayland display manager +'sddm-kcm' # KDE Config Module for SDDM +'snapper' # A tool for managing BTRFS and LVM snapshots. It can create, diff and restore snapshots and provides timelined auto-snapping. +'spectacle' # KDE screenshot capture utility +'steam' # Valve's digital software delivery system - Games +'sudo' # Give certain users the ability to run some commands as root +'swtpm' # Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface +'synergy' # Share a single mouse and keyboard between multiple computers +'systemsettings' # KDE system manager for hardware, software, and workspaces +'terminus-font' # Monospace bitmap font (for X11 and console) +'traceroute' # Tool to track the route taken by packets over an IP network +'ufw' # Uncomplicated and easy to use CLI tool for managing a netfilter firewall +'unrar' # The RAR uncompression program +'unzip' # For extracting and viewing files in .zip archives +'usbutils' # A collection of USB tools to query connected USB devices +'vim' # Vi Improved, a highly configurable, improved version of the vi text editor +'virt-manager' # Desktop user interface for managing virtual machines +'virt-viewer' # A lightweight interface for interacting with the graphical display of virtualized guest OS. +'wget' # Network utility to retrieve files from the Web +'which' # A utility to show the full path of commands +'wine-gecko' # Wine's built-in replacement for Microsoft's Internet Explorer +'wine-mono' # Wine's built-in replacement for Microsoft's .NET Framework +'winetricks' # Script to install various redistributable runtime libraries in Wine. +'xdg-desktop-portal-kde' # A backend implementation for xdg-desktop-portal using Qt/KF5 +'xdg-user-dirs' # Manage user directories like ~/Desktop and ~/Music +'zeroconf-ioslave' # Network Monitor for DNS-SD services (Zeroconf) +'zip' # Compressor/archiver for creating and modifying zipfiles +'zsh' # A very advanced and programmable command interpreter (shell) for UNIX +'zsh-syntax-highlighting' # Fish shell like syntax highlighting for Zsh +'zsh-autosuggestions' # Fish-like autosuggestions for zsh ) for PKG in "${PKGS[@]}"; do From aae2f475e487db12e1a481489ad9aef0ccb5e31b Mon Sep 17 00:00:00 2001 From: fluffycloud <68042667+fluffycloud331@users.noreply.github.com> Date: Fri, 24 Dec 2021 10:51:57 -0500 Subject: [PATCH 8/8] add vista and Microsoft fonts added vista fonts and microsoft fonts to archtitus --- 2-user.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/2-user.sh b/2-user.sh index 881a28d..f383ac3 100755 --- a/2-user.sh +++ b/2-user.sh @@ -47,6 +47,8 @@ PKGS=( 'ttf-hack' 'ttf-meslo' # Nerdfont package 'ttf-roboto' +'ttf-ms-fonts' # microsoft fonts +'ttf-vista-fonts' # vista fonts 'zoom' # video conferences 'snap-pac' )