mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-12 21:30:52 +01:00
setup_thorium_startup.sh (443 lines) was queued for a split under the 250-line cap. It turned out the feature it installs has been broken since Thorium was removed in favour of chromium/librewolf. /usr/local/bin/thorium-browser is now only a leftover symlink to browser-preexec-wrapper, which routes by basename to /usr/bin/<name>. With no /usr/bin/thorium-browser it falls into its testing branch and treats the URL as the binary, so every boot logged: thorium-browser: line 33: /https://www.fitatu.com/app/planner: No such file while systemd reported status=0/SUCCESS and "Finished". The success status is why this went unnoticed. Splitting a 443-line script to keep a dead feature under a line cap is the wrong work, so it is deleted instead, along with its checker. Removing check_thorium_startup() from check_and_enable_services.sh is the part that makes this stick: its report_and_fix RE-RAN the installer whenever the service was not enabled, so deleting only the deployed units would have let them come back. Verified afterwards that the hourly maintenance timer runs a deployed script with no thorium reference, and that nothing on a timer invokes the checker at all. Also removed from fresh-install/main.sh so new machines skip it. Units disabled and all four deployed files removed. The generic browser-candidate lists that merely mention thorium are left alone. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011w2Pj4Ek3ZNMQVYcFHgXDY |
||
|---|---|---|
| .. | ||
| aur_packages.txt | ||
| detect_gpu_and_install.sh | ||
| detect_gpu.sh | ||
| install_amd_driver.sh | ||
| install_intel_driver.sh | ||
| install_nvidia_driver.sh | ||
| main.sh | ||
| makepkg.conf | ||
| mkinitcpio.conf | ||
| mpv.conf | ||
| packages.txt | ||
| pacman_packages.txt | ||
| pacman.conf | ||
| README.md | ||
Package Lists
This directory contains package lists for the fresh install script:
pacman_packages.txt- List of packages to install via pacmanaur_packages.txt- List of AUR packages with their repository URLs
Format
pacman_packages.txt
One package name per line:
package1
package2
package3
# This is a comment and will be ignored
# Another comment
aur_packages.txt
Package name and repository URL separated by space:
package-name https://aur.archlinux.org/package-name.git
another-package https://aur.archlinux.org/another-package.git
# This is a comment and will be ignored
# Another comment
Note: Lines starting with anything other than lowercase letters (a-z) or digits (0-9) will be ignored as comments. This includes lines starting with #, spaces, uppercase letters, or special characters.
Usage
The main.sh script will automatically read from these files:
- Pacman packages will be installed via
pacman -Sy --noconfirm - AUR packages will be built and installed via the
install_from_aurfunction
Modifying Package Lists
To add or remove packages:
- Edit the appropriate
.txtfile - For AUR packages, ensure the format is correct (package-name followed by space and URL)
- You can add comments by starting lines with
#or any non-alphanumeric character - Save the file - the script will automatically pick up changes on next run
Comments
You can add comments to organize your package lists:
# Essential packages
git
vim
# Development tools
gcc
make
# Optional packages (commented out)
# some-package-i-might-want-later