From c16e5f9c3a92df53aa759df660f4af1199205f2a Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 21 Jan 2026 13:30:47 -0600 Subject: fix(archsetup): increase GRUB timeout and switch syncthing to user service MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - GRUB_TIMEOUT 0→2 seconds for menu access - Syncthing: system service → user service with lingering to prevent lock conflicts - Update airplanemodetoggle for user service - Update validation to check lingering instead of system service --- archsetup | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'archsetup') diff --git a/archsetup b/archsetup index 16d7cc9..7d62fd4 100755 --- a/archsetup +++ b/archsetup @@ -1263,7 +1263,9 @@ desktop_environment() { action="Sync Services" && display "subtitle" "$action" pacman_install syncthing - systemctl enable "syncthing@$username.service" >> "$logfile" 2>&1 || error "error" "$action" "$?" + # Use user service (not system service) to avoid lock file conflicts if both get enabled + loginctl enable-linger "$username" + sudo -u "$username" systemctl --user enable syncthing.service # Desktop Environment Utilities @@ -1638,7 +1640,7 @@ EOF action="configuring boot menu for silence and bootsplash" && display "task" "$action" if [ -f /etc/default/grub ]; then action="resetting timeouts and adjusting log levels on grub boot" && display "task" "$action" - sed -i "s/.*GRUB_TIMEOUT=.*/GRUB_TIMEOUT=0/g" /etc/default/grub + sed -i "s/.*GRUB_TIMEOUT=.*/GRUB_TIMEOUT=2/g" /etc/default/grub sed -i "s/.*GRUB_DEFAULT=.*/GRUB_DEFAULT=0/g" /etc/default/grub sed -i 's/.*GRUB_TERMINAL_OUTPUT=console/GRUB_TERMINAL_OUTPUT=gfxterm/' /etc/default/grub sed -i 's/.*GRUB_GFXMODE=auto/GRUB_GFXMODE=1024x768/' /etc/default/grub -- cgit v1.2.3