From cb07ee48d6944d6cdbcfafcf1d98a1ac46e3a1ae Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 21 Jan 2026 17:29:39 -0600 Subject: fix(archsetup): replace ntp with chrony and add packages - Replace deprecated ntp with chrony for time sync - Add opus codec (all music in opus format) - Add iperf3 and net-tools for network diagnostics - Add lexend-fonts-git font - Fix rmmod pcspkr error when module not loaded - Remove duplicate mediainfo entry (kept in Emacs section) --- archsetup | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'archsetup') diff --git a/archsetup b/archsetup index a80b3d4..e598b9f 100755 --- a/archsetup +++ b/archsetup @@ -490,7 +490,7 @@ prerequisites() { # curl - to transfer source code # git - tools required to work with git source respositories # go - required to build yay, the aur installer - # ntp - must communicate with other servers in synchronized manner + # chrony - must communicate with other servers in synchronized manner # python - required for python pip installs # stow - places the dotfiles (see: https://bit.ly/41GmysO) # tar - extract unix archives @@ -516,16 +516,16 @@ prerequisites() { display "subtitle" "Required Software" for software in linux-firmware wireless-regdb base-devel ca-certificates \ - coreutils curl git go ntp openssh python \ + chrony coreutils curl git go openssh python \ stow tar vi zsh; do pacman_install "$software" done display "subtitle" "Environment Configuration" - # sync the time on this machine + # sync the time on this machine (one-shot chrony sync) action="synchronizing system time" && display "task" "$action" - (ntpdate 0.us.pool.ntp.org >> "$logfile" 2>&1) || error "error" "$action" "$?" + (chronyd -q 'server 0.us.pool.ntp.org iburst' >> "$logfile" 2>&1) || error "error" "$action" "$?" action="configuring compiler to use all processor cores" && display "task" "$action" sed -i "s/-j2/-j$(nproc)/;s/^#MAKEFLAGS/MAKEFLAGS/" /etc/makepkg.conf >> "$logfile" 2>&1 @@ -1153,6 +1153,7 @@ desktop_environment() { aur_install ttf-lato aur_install ttf-ms-fonts aur_install ttf-ubraille + aur_install lexend-fonts-git # readable font family # System Utilities @@ -1210,7 +1211,7 @@ desktop_environment() { pacman_install "$software" done; # disable the pc speaker beep - rmmod pcspkr >> "$logfile" 2>&1 + rmmod pcspkr 2>/dev/null || true echo "blacklist pcspkr" > /etc/modprobe.d/nobeep.conf # Keyboard Shortcut Manager @@ -1507,7 +1508,6 @@ supplemental_software() { pacman_install libmad # mpeg audio decoder pacman_install libmpeg2 # library for decoding mpeg video streams pacman_install maim # screenshot utility - pacman_install mediainfo # technical and tag information about media files pacman_install mosh # alt SSH terminal with roaming and responsiveness support pacman_install odt2txt # converts from open document to text pacman_install p7zip # p7zip compression tool @@ -1519,6 +1519,8 @@ supplemental_software() { pacman_install ranger # terminal file manager pacman_install rclone # syncs files from gdrive, s3, dropbox, etc. pacman_install signal-desktop # secure messenger + pacman_install iperf3 # network bandwidth testing + pacman_install net-tools # network tools (netstat for security auditing) pacman_install smartmontools # monitors hard drives pacman_install lynis # security auditing tool pacman_install telegram-desktop # messenger application @@ -1531,6 +1533,7 @@ supplemental_software() { pacman_install unclutter # hides mouse cursor when not being used pacman_install vlc # media player pacman_install w3m # text based browser + pacman_install opus # opus audio codec (all music in opus format) pacman_install wavpack # audio compression format pacman_install webkit2gtk # web content engine for GTK pacman_install xcb-util-cursor # calibre dependency (calibre installed manually) -- cgit v1.2.3