Unify ultimate upgrade & setup

This commit is contained in:
Nico Jensch 2020-10-27 13:02:51 +01:00
parent 7d95bc15a7
commit 8ab0706c32
4 changed files with 159 additions and 228 deletions

View File

@ -1,26 +0,0 @@
#!/bin/sh
systemctl --user enable gamemoded &
systemctl --user start gamemoded &
systemctl --user enable pulseaudio-bluetooth-autoconnect &
systemctl --user start pulseaudio-bluetooth-autoconnect &
systemctl --user enable android-session-manager&
systemctl --user start android-session-manager&
systemctl --user enable psd &
systemctl --user start psd &
libinput-gestures-setup autostart &
libinput-gestures-setup start &
setup_dxvk install &
alacritty -e "setup-assistant"
rm -rf "${HOME}/.config/autostart-scripts/setup.sh" &
notify-send "Setup complete!"
exit

View File

@ -1,8 +1,7 @@
[Desktop Entry]
Name=Script
Comment=Script executor
[Desktop Entry]
Name=Setup Assistant
Comment=Starts Garudas setup assistant
Icon=variety
Exec=sh -c "~/.config/autostart-scripts/setup.sh && rm -rf ~/.config/autostart/script.desktop"
Exec=alacritty -e setup-assistant
Terminal=false
Type=Application
Name[de_DE.UTF-8]=Script.desktop

View File

@ -8,6 +8,160 @@ function goto
exit
}
function upgrade2ultimate
{
echo "###############################################################################"
echo "#### WELCOME TO THE GARUDA LINUX ULTIMATE UPDATE SCRIPT V1.0 ####"
echo "###############################################################################"
## Graphical
sudo pacman -S --needed pamac-all
## APPIMAGE Support
sudo pacman -S --noconfirm --needed appimagelauncher fwupd apparmor snapd snapd-glib flatpak
echo "###############################################################################"
echo "#### INSTALLED PACKAGE MANAGEMENT ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed garuda-alsa garuda-pulse garuda-pipewire pulseaudio-ctl playerctl
echo "###############################################################################"
echo " INSTALLED AUDIO ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed qomui-git
echo "###############################################################################"
echo "#### INSTALLED NETWORK ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed garuda-settings-samba system-config-samba garuda-printer garuda-scanner
echo "###############################################################################"
echo "#### INSTALLED PRINTER ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed evdev-right-click-emulation
echo "###############################################################################"
echo "#### INSTALLED INPUT ####"
echo "###############################################################################"
## Desktop Utils
sudo pacman -S --noconfirm --needed libdvdcss libva-utils vdpauinfo vulkan-tools mesa-demos lib32-mesa-demos
echo "###############################################################################"
echo "#### INSTALLED UTILITIES ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed garuda-asian noto-fonts-extra ttf-opensans
echo "###############################################################################"
echo "#### INSTALLED FONTS ####"
echo "###############################################################################"
## office
sudo pacman -S --noconfirm --needed libreoffice-fresh
sudo pacman -S --noconfirm --needed libmythes
echo "###############################################################################"
echo "#### INSTALLED OFFICE ####"
echo "###############################################################################"
## Internet applications
sudo pacman -S --noconfirm --needed telegram-desktop joplin murmur mumble discord streamlink-twitch-gui syncthing-gtk nextcloud-client firefox-extension-bitwarden fractal firefox-extension-xdm-browser-monitor
echo "###############################################################################"
echo "#### INSTALLED OTHER APPS ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed garuda-virt-manager
echo "###############################################################################"
echo "#### INSTALLED VIRTUALIZATION ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed garuda-wine
echo "###############################################################################"
echo "#### INSTALLED WINE ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed ialauncher-git steam steam-native-runtime lutris gamehub itch minigalaxy legendary
echo "###############################################################################"
echo "#### INSTALLED GAME LAUNCHERS ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed openrgb-git piper fancontrol-gui-git corectrl gwe goverlay-git mangohud lib32-mangohud gamemode lib32-gamemode dxvk-mingw-git vkbasalt proton-tkg-git
echo "###############################################################################"
echo "#### INSTALLED GAMING TOOLS ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed antimicrox linuxconsole xboxdrv xpadneo-dkms-git steamos-xpad-dkms xow-git xbox-generic-controller game-devices-udev retroarch-autoconfig-udev-git
echo "###############################################################################"
echo "#### INSTALLED GAME CONTROLLER ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed libretro
echo "###############################################################################"
echo "#### INSTALLED EMULATORS ####"
echo "###############################################################################"
sync
}
systemctl --user enable gamemoded >/dev/null 2>&1 &
systemctl --user start gamemoded >/dev/null 2>&1 &
systemctl --user enable pulseaudio-bluetooth-autoconnect >/dev/null 2>&1 &
systemctl --user start pulseaudio-bluetooth-autoconnect >/dev/null 2>&1 &
systemctl --user enable android-session-manager >/dev/null 2>&1 &
systemctl --user start android-session-manager >/dev/null 2>&1 &
systemctl --user enable psd >/dev/null 2>&1 &
systemctl --user start psd >/dev/null 2>&1 &
libinput-gestures-setup autostart >/dev/null 2>&1 &
libinput-gestures-setup start >/dev/null 2>&1 &
setup_dxvk install &
clear
echo "Welcome to the initial setup assistant!"
@ -91,7 +245,7 @@ elif [ $selection = "8" ]; then
goto "start"
elif [ $selection = "9" ]; then
echo ""
sudo upgrade2ultimate
upgrade2ultimate
echo ""
goto "start"
elif [ $selection = "10" ]; then

View File

@ -1,196 +0,0 @@
#!/bin/bash
set -e
echo "###############################################################################"
echo "#### WELCOME TO THE GARUDA LINUX ULTIMATE UPDATE SCRIPT V1.0 ####"
echo "###############################################################################"
## Graphical
sudo pacman -S --needed pamac-all
## APPIMAGE Support
sudo pacman -S --noconfirm --needed appimagelauncher
## FIRMWARE UPDATES
sudo pacman -S --noconfirm --needed fwupd
## Snap Support
sudo pacman -S --noconfirm --needed apparmor
sudo pacman -S --noconfirm --needed snapd
sudo pacman -S --noconfirm --needed snapd-glib
## Flatpak support
sudo pacman -S --noconfirm --needed flatpak
echo "###############################################################################"
echo "#### INSTALLED PACKAGE MANAGEMENT ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed garuda-alsa
sudo pacman -S --noconfirm --needed garuda-pulse
sudo pacman -S --noconfirm --needed garuda-pipewire
sudo pacman -S --noconfirm --needed pulseaudio-ctl
sudo pacman -S --noconfirm --needed playerctl
echo "###############################################################################"
echo " INSTALLED AUDIO ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed qomui-git
echo "###############################################################################"
echo "#### INSTALLED NETWORK ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed garuda-settings-samba
sudo pacman -S --noconfirm --needed system-config-samba # python2 package
sudo pacman -S --noconfirm --needed garuda-printer
sudo pacman -S --noconfirm --needed garuda-scanner
echo "###############################################################################"
echo "#### INSTALLED PRINTER ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed evdev-right-click-emulation
echo "###############################################################################"
echo "#### INSTALLED INPUT ####"
echo "###############################################################################"
## Desktop Utils
sudo pacman -S --noconfirm --needed libdvdcss
sudo pacman -S --noconfirm --needed libva-utils
sudo pacman -S --noconfirm --needed vdpauinfo
sudo pacman -S --noconfirm --needed vulkan-tools
sudo pacman -S --noconfirm --needed mesa-demos
sudo pacman -S --noconfirm --needed lib32-mesa-demos
echo "###############################################################################"
echo "#### INSTALLED UTILITIES ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed garuda-asian # asian fonts - needed big package, ~76 mb compressed
sudo pacman -S --noconfirm --needed noto-fonts-extra
sudo pacman -S --noconfirm --needed ttf-opensans
echo "###############################################################################"
echo "#### INSTALLED FONTS ####"
echo "###############################################################################"
## office
sudo pacman -S --noconfirm --needed libreoffice-fresh
sudo pacman -S --noconfirm --needed libmythes
echo "###############################################################################"
echo "#### INSTALLED OFFICE ####"
echo "###############################################################################"
## Internet applications
sudo pacman -S --noconfirm --needed telegram-desktop
sudo pacman -S --noconfirm --needed firefox-extension-bitwarden
sudo pacman -S --noconfirm --needed firefox-extension-xdm-browser-monitor
sudo pacman -S --noconfirm --needed fractal
sudo pacman -S --noconfirm --needed nextcloud-client
sudo pacman -S --noconfirm --needed syncthing-gtk
sudo pacman -S --noconfirm --needed streamlink-twitch-gui
sudo pacman -S --noconfirm --needed discord
sudo pacman -S --noconfirm --needed mumble
sudo pacman -S --noconfirm --needed murmur
sudo pacman -S --noconfirm --needed joplin
echo "###############################################################################"
echo "#### INSTALLED OTHER APPS ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed garuda-virt-manager
echo "###############################################################################"
echo "#### INSTALLED VIRTUALIZATION ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed garuda-wine
echo "###############################################################################"
echo "#### INSTALLED WINE ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed steam
sudo pacman -S --noconfirm --needed steam-native-runtime
sudo pacman -S --noconfirm --needed lutris
sudo pacman -S --noconfirm --needed gamehub
sudo pacman -S --noconfirm --needed itch
sudo pacman -S --noconfirm --needed minigalaxy
sudo pacman -S --noconfirm --needed legendary
sudo pacman -S --noconfirm --needed ialauncher-git
echo "###############################################################################"
echo "#### INSTALLED GAME LAUNCHERS ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed openrgb-git
sudo pacman -S --noconfirm --needed piper
sudo pacman -S --noconfirm --needed fancontrol-gui-git
sudo pacman -S --noconfirm --needed corectrl
sudo pacman -S --noconfirm --needed gwe
sudo pacman -S --noconfirm --needed goverlay-git
sudo pacman -S --noconfirm --needed mangohud
sudo pacman -S --noconfirm --needed lib32-mangohud
sudo pacman -S --noconfirm --needed gamemode
sudo pacman -S --noconfirm --needed lib32-gamemode
sudo pacman -S --noconfirm --needed vkbasalt
sudo pacman -S --noconfirm --needed dxvk-mingw-git
sudo pacman -S --noconfirm --needed proton-tkg-git
echo "###############################################################################"
echo "#### INSTALLED GAMING TOOLS ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed antimicrox
sudo pacman -S --noconfirm --needed linuxconsole
sudo pacman -S --noconfirm --needed xboxdrv
sudo pacman -S --noconfirm --needed xpadneo-dkms-git
sudo pacman -S --noconfirm --needed steamos-xpad-dkms
sudo pacman -S --noconfirm --needed xow-git
sudo pacman -S --noconfirm --needed xbox-generic-controller
sudo pacman -S --noconfirm --needed game-devices-udev
sudo pacman -S --noconfirm --needed retroarch-autoconfig-udev-git
echo "###############################################################################"
echo "#### INSTALLED GAME CONTROLLER ####"
echo "###############################################################################"
sudo pacman -S --noconfirm --needed libretro
echo "###############################################################################"
echo "#### INSTALLED EMULATORS ####"
echo "###############################################################################"
sync