A collection of bash scripts to automate the setup of a fresh Ubuntu environment.
The easiest way to set up your system is using the interactive Master Installer. It provides a menu that allows you to choose specific applications or install everything at once.
Run the following command in your terminal:
bash -c "$(curl -fsSL https://gist.githubusercontent.com/weehong-1/0bf6b75c54b56d5cbbc33752c93dac8b/raw/menu.sh)"(Note: You will be prompted for your sudo password during the installation process, as these scripts configure system-level repositories and install packages).
If you prefer to bypass the menu and install applications individually, you can copy and paste the specific commands below.
curl -fsSL https://gist.githubusercontent.com/weehong-1/0bf6b75c54b56d5cbbc33752c93dac8b/raw/install-firefox.sh | sudo bashcurl -fsSL https://gist.githubusercontent.com/weehong-1/0bf6b75c54b56d5cbbc33752c93dac8b/raw/install-1password.sh | sudo bashcurl -fsSL https://gist.githubusercontent.com/weehong-1/0bf6b75c54b56d5cbbc33752c93dac8b/raw/install-espanso.sh | sudo bashcurl -fsSL https://gist.githubusercontent.com/weehong-1/0bf6b75c54b56d5cbbc33752c93dac8b/raw/install-vscode.sh | sudo bashReference and fork from: https://gist.github.com/abn/022c5f9eae491687a766f25bd8322fc0
bash -c "$(curl -fsSL https://gist.githubusercontent.com/weehong-1/0bf6b75c54b56d5cbbc33752c93dac8b/raw/install-jetbrains-toolbox.sh)"curl -fsSL https://gist.githubusercontent.com/weehong-1/0bf6b75c54b56d5cbbc33752c93dac8b/raw/install-bruno.sh | sudo bashcurl -fsSL https://gist.githubusercontent.com/weehong-1/0bf6b75c54b56d5cbbc33752c93dac8b/raw/install-spotify.sh | sudo bashcurl -fsSL https://gist.githubusercontent.com/weehong-1/0bf6b75c54b56d5cbbc33752c93dac8b/raw/install-obsidian.sh | sudo bashcurl -fsSL https://gist.githubusercontent.com/weehong-1/0bf6b75c54b56d5cbbc33752c93dac8b/raw/install-thunderbird.sh | sudo bashsudo bash -c "$(curl -fsSL https://gist.githubusercontent.com/weehong-1/0bf6b75c54b56d5cbbc33752c93dac8b/raw/install-network_drive.sh)"tar -cvpzf thunderbird_backup.tar.gz \
--exclude='Crash Reports' \
--exclude='Pending Pings' \
-C /home/vernon/snap/thunderbird/common/.thunderbird/ .
# 1. Unmount any stuck connections
sudo umount -f -l /mnt/Synology/* 2>/dev/null
# 2. Remove the old mount directories
sudo rm -rf /mnt/Synology/*
# 3. Wipe the old NAS entries from your config file
sudo sed -i '/Synology/d' /etc/fstab
# 4. Remove the old credentials file to be safe
rm -f ~/.smbcredentials_synology