commit cb819947927a6488020662bc57c0eabf32d2eaee Author: RP1 Date: Mon Nov 4 22:06:49 2024 +0000 Upload files to "/" diff --git a/1gpt-KDE.sh b/1gpt-KDE.sh new file mode 100644 index 0000000..7e35f6b --- /dev/null +++ b/1gpt-KDE.sh @@ -0,0 +1,59 @@ +#!/usr/bin/env bash + +bold=$(tput bold) # ${bold} +normal=$(tput sgr0) # ${normal} +yellow=$(tput setaf 3) # ${yellow} + +# Zenity ablak megjelenítése +user_choice=$(zenity --list --radiolist --width='650' --height='370' \ + --title="Válaszd ki a nyelvet és a GPU-t!" \ + --text="Válassz az alábbi opciók közül:" \ + --column="Válassz" --column="GPU - Rendszer nyelv" \ + FALSE "English Language" \ + FALSE "Magyar Nyelv") +if [[ $? -eq 1 ]]; then + echo ${bold}${yellow}A script futása leállítva. Kilépés!${normal} + exit 1 +fi + + if [[ $user_choice = *"English Language"* ]]; then + + # Wayland Auto-Enable + echo + echo --------------------------------------------- + echo ${bold}${yellow}Started English Backup script${normal} + echo + sudo cp -a rave-pp /usr/share/pixmaps/faces/ + sudo cp -a .mozilla /home/$USER/ + echo + echo ${bold}${yellow}English Backup script finished.${normal} + echo --------------------------------------------- + echo + + if [[ $user_choice = *"Magyar Nyelv"* ]]; then + + # Wayland Auto-Enable + echo + echo --------------------------------------------- + echo ${bold}${yellow}Magyar backup script indítva.${normal} + echo + sudo cp -a rave-pp /usr/share/pixmaps/faces/ + sudo cp -a .mozilla /home/$USER/ + echo + echo ${bold}${yellow}Magyar backup script befejezve.${normal} + echo --------------------------------------------- + echo +fi + + +# Script end + +echo ${bold}${yellow}The system will restart in 3 seconds...${normal} +echo ${bold}${yellow}3...${normal} +sleep 1 +echo ${bold}${yellow}2...${normal} +sleep 1 +echo ${bold}${yellow}1...${normal} +sleep 1 + +sudo reboot diff --git a/1mbr-KDE.sh b/1mbr-KDE.sh new file mode 100644 index 0000000..fa8fa63 --- /dev/null +++ b/1mbr-KDE.sh @@ -0,0 +1,223 @@ +#!/usr/bin/env bash + +bold=$(tput bold) # ${bold} +normal=$(tput sgr0) # ${normal} +yellow=$(tput setaf 3) # ${yellow} + +# Zenity ablak megjelenítése +user_choice=$(zenity --list --radiolist --width='650' --height='370' \ + --title="Válaszd ki a nyelvet és a GPU-t!" \ + --text="Válassz az alábbi opciók közül:" \ + --column="Válassz" --column="GPU - Rendszer nyelv" \ + FALSE "English Language" \ + FALSE "Magyar Nyelv") +if [[ $? -eq 1 ]]; then + echo ${bold}${yellow}A script futása leállítva. Kilépés!${normal} + exit 1 +fi + + +# Nala telepítés + echo --------------------------------------------- + echo Installing ${bold}${yellow}NALA - DEB Pkg${normal} + echo + sudo apt update + sudo apt install nala -y + sudo apt purge ubuntu-advantage-tools -y + sudo sed -i 's/.set.enabled=true/.set.enabled=false/' /var/lib/NetworkManager/NetworkManager-intern.conf + echo + echo ${bold}${yellow}NALA - DEB Pkg ${normal}installed. + echo --------------------------------------------- + + sudo nala install ark kde-plasma-desktop plasma-workspace-wayland plasma-wayland-protocols kwayland-integration -y + + sudo touch /etc/sddm.conf && echo -e '[General]\nInputMethod=' | sudo tee /etc/sddm.conf > /dev/null + +# Adding Custom rave command +echo --------------------------------------------- + echo Installing ${bold}${yellow}rave command.${normal} + echo + sudo cp -a rave /usr/local/bin/ + sudo chmod +x /usr/local/bin/rave + sudo cp -a rave-comp.sh /etc/bash_completion.d/ + sudo chmod +x /etc/bash_completion.d/rave-comp.sh + echo + echo ${bold}${yellow}Rave command with bash completion ${normal}installed. + echo --------------------------------------------- + + + # Installing Custom Rave Wallpapers made by DanyHolder & Pacuka + echo --------------------------------------------- + echo Installing ${bold}${yellow}Custom Rave Wallpapers${normal} + echo + sudo rm -rf /usr/share/backgrounds/pop + sudo mkdir -p /usr/share/backgrounds/pop + sudo tar -xvf RP_Wallpapers.tar.xz -C /usr/share/backgrounds/pop/ + sudo cp -a rave-Wallpapers.xml /usr/share/gnome-background-properties/ + echo + echo ${bold}${yellow}Custom Rave Wallpapers ${normal}installed. + echo --------------------------------------------- + +# Disabling Geoclue + echo --------------------------------------------- + echo Installing ${bold}${yellow}Geoclue service disabling / masking${normal} + echo + sudo systemctl disable geoclue.service + sudo systemctl mask geoclue.service + echo + echo ${bold}${yellow}Geoclue service disabling / masking ${normal}finished. + echo --------------------------------------------- + +# Enable x86 + echo --------------------------------------------- + echo Enabling ${bold}${yellow}x86 architecture${normal} + echo + sudo dpkg --add-architecture i386 + echo + echo ${bold}${yellow}x86 architecture ${normal}enabled. + echo --------------------------------------------- + +# Dependencies + echo --------------------------------------------- + echo Installing ${bold}${yellow}Dependencies${normal} + echo + sudo nala install lm-sensors ffmpeg -y + echo + echo ${bold}${yellow}Dependencies ${normal}installed. + echo --------------------------------------------- + +# Flatseal - Flatpak app jogosultság beállító +echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Flatseal - flatpak${normal} + + flatpak install flathub com.github.tchx84.Flatseal --user -y + sudo cp -a overrides /home/$USER/.local/share/flatpak + + echo ${bold}${yellow}Flatseal ${normal}installed. + echo --------------------------------------------- + echo + +# All Updates + echo --------------------------------------------- + echo ${bold}${yellow}Upgrading the System${normal} + echo + sudo nala upgrade -y + echo + echo ${bold}${yellow}System upgraded!${normal} + echo --------------------------------------------- + +fwupdmgr update -y + +# User beállítások + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}User settings${normal} + plasma-apply-colorscheme BreezeDark + plasma-apply-desktoptheme breeze-dark + plasma-apply-lookandfeel org.kde.breezedark.desktop + + # Debloater Script by DanyHolder + sudo nala purge gnome-contacts* pop-shop* gnome-calculator gnome-disk-utility gnome-remote-desktop* gucharmap* com.github.donadigo.eddy* totem* geary* seahorse* popsicle* libreoffice-draw* libreoffice-math* libreoffice-impress* imagemagick* vinagre* gnome-font-viewer gnome-power-manager -y + + echo ${bold}${yellow}User settings ${normal}installed. + echo --------------------------------------------- + + echo --------------------------------------------- + echo Installing ${bold}${yellow}Librewolf - DEB Pkg${normal} + + sudo apt update && sudo apt install -y wget gnupg lsb-release apt-transport-https ca-certificates + + distro=$(if echo " una bookworm vanessa focal jammy bullseye vera uma " | grep -q " $(lsb_release -sc) "; then lsb_release -sc; else echo focal; fi) + + wget -O- https://deb.librewolf.net/keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/librewolf.gpg + sudo tee /etc/apt/sources.list.d/librewolf.sources << EOF > /dev/null +Types: deb +URIs: https://deb.librewolf.net +Suites: $distro +Components: main +Architectures: amd64 +Signed-By: /usr/share/keyrings/librewolf.gpg +EOF + sudo apt update + sudo nala install librewolf -y + sudo cp -a .librewolf /home/$USER/ + + echo ${bold}${yellow}LibreWolf ${normal}installed. + echo --------------------------------------------- + + echo --------------------------------------------- + echo Installing ${bold}${yellow}VLC Media Player - flatpak${normal} + + flatpak install flathub org.videolan.VLC --user -y + + echo ${bold}${yellow}VLC Media Player ${normal}installed. + echo --------------------------------------------- + + echo --------------------------------------------- + echo Installing ${bold}${yellow}QBittorrent - flatpak${normal} + + flatpak install flathub org.qbittorrent.qBittorrent --user -y + + echo ${bold}${yellow}QBittorrent ${normal}installed. + echo --------------------------------------------- + + echo --------------------------------------------- + echo Installing ${bold}${yellow}FreeTube - flatpak${normal} + + flatpak install flathub io.freetubeapp.FreeTube --user -y + + echo ${bold}${yellow}FreeTube ${normal}installed. + echo --------------------------------------------- + + if [[ $user_choice = *"English Language"* ]]; then + + # Wayland Auto-Enable + echo + echo --------------------------------------------- + echo Enabling ${bold}${yellow}Wayland Window Manager${normal} + echo + sudo cp -a rave-pp /usr/share/pixmaps/faces/ + sudo cp -a .mozilla /home/$USER/ + echo + echo ${bold}${yellow}Wayland Window Manager ${normal}enabled. + echo --------------------------------------------- + echo + + if [[ $user_choice = *"Magyar Nyelv"* ]]; then + + # Wayland Auto-Enable + echo + echo --------------------------------------------- + echo Enabling ${bold}${yellow}Wayland Window Manager${normal} + echo + sudo cp -a rave-pp /usr/share/pixmaps/faces/ + sudo cp -a .mozilla /home/$USER/ + echo + echo ${bold}${yellow}Wayland Window Manager ${normal}enabled. + echo --------------------------------------------- + echo + + echo + echo --------------------------------------------- + echo Downloading ${bold}${yellow}Hungarian LangPack${normal} + echo + sudo apt install language-pack-hu language-pack-hu-base language-pack-kde-hu task-hungarian-kde-desktop -y + echo + echo ${bold}${yellow}Hungarian LangPack ${normal}downloaded. + echo --------------------------------------------- + +fi + + +# Script end + +echo ${bold}${yellow}The system will restart in 3 seconds...${normal} +echo ${bold}${yellow}3...${normal} +sleep 1 +echo ${bold}${yellow}2...${normal} +sleep 1 +echo ${bold}${yellow}1...${normal} +sleep 1 + +sudo reboot diff --git a/1update-KDE.sh b/1update-KDE.sh new file mode 100644 index 0000000..c80f587 --- /dev/null +++ b/1update-KDE.sh @@ -0,0 +1,296 @@ +#!/usr/bin/env bash + +bold=$(tput bold) # ${bold} +normal=$(tput sgr0) # ${normal} +yellow=$(tput setaf 3) # ${yellow} + +# Zenity ablak megjelenítése +user_choice=$(zenity --list --radiolist --width='650' --height='370' \ + --title="Válaszd ki a nyelvet és a GPU-t!" \ + --text="Válassz az alábbi opciók közül:" \ + --column="Válassz" --column="GPU - Rendszer nyelv" \ + FALSE "AMD GPU - Angol Nyelv" \ + FALSE "AMD GPU - Magyar Nyelv" \ + FALSE "Nvidia GPU - Angol Nyelv" \ + FALSE "Nvidia GPU - Magyar Nyelv" ) +if [[ $? -eq 1 ]]; then + echo ${bold}${yellow}A script futása leállítva. Kilépés!${normal} + exit 1 +fi + +# Nala telepítés + echo --------------------------------------------- + echo Installing ${bold}${yellow}NALA - DEB Pkg${normal} + echo + sudo apt update + sudo apt install nala -y + sudo apt purge ubuntu-advantage-tools -y + sudo sed -i 's/.set.enabled=true/.set.enabled=false/' /var/lib/NetworkManager/NetworkManager-intern.conf + echo + echo ${bold}${yellow}NALA - DEB Pkg ${normal}installed. + echo --------------------------------------------- + + sudo nala install ark kde-plasma-desktop plasma-workspace-wayland plasma-wayland-protocols kwayland-integration -y + + sudo touch /etc/sddm.conf && echo -e '[General]\nInputMethod=' | sudo tee /etc/sddm.conf > /dev/null + +# Creating autostart folder + echo --------------------------------------------- + echo Installing ${bold}${yellow}Creating autostart folder${normal} + echo + mkdir -p /home/$USER/.config/autostart + sudo chown $USER:$GROUP /home/$USER/.config/autostart + echo + echo ${bold}${yellow}Autostart folder ${normal}created. + echo --------------------------------------------- + +# Autostarting ProgramScript after restart +echo --------------------------------------------- + echo Installing ${bold}${yellow}ProgramScript Autostart${normal} + echo + sudo cp -a 3progs.sh.desktop /home/$USER/.config/autostart + echo Exec=/home/$USER/.progs/3progs.sh >> /home/$USER/.config/autostart/3progs.sh.desktop + sudo mkdir -p /home/$USER/.progs + sudo chown $USER:$GROUP /home/$USER/.progs + sudo cp -a 3progs.sh /home/$USER/.progs + sudo chmod +x /home/$USER/.progs/3progs.sh + sudo cp -a content-*/. /home/$USER/.progs + echo + echo ${bold}${yellow}ProgramScript Autostart ${normal}installed. + echo --------------------------------------------- + +# Adding Custom rave command +echo --------------------------------------------- + echo Installing ${bold}${yellow}rave command.${normal} + echo + sudo cp -a rave /usr/local/bin/ + sudo chmod +x /usr/local/bin/rave + sudo cp -a rave-comp.sh /etc/bash_completion.d/ + sudo chmod +x /etc/bash_completion.d/rave-comp.sh + echo + echo ${bold}${yellow}Rave command with bash completion ${normal}installed. + echo --------------------------------------------- + +# Installing GNOME Software + echo --------------------------------------------- + echo Installing ${bold}${yellow}GNOME Software and Flatpak Plugin - DEB Pkg${normal} + echo + sudo nala remove pop-shop* -y + sudo apt install gnome-software gnome-software-plugin-flatpak -y + echo + echo ${bold}${yellow}GNOME Software and Flatpak Plugin ${normal}installed. + echo --------------------------------------------- + + # Installing Custom Rave Wallpapers made by DanyHolder & Pacuka + echo --------------------------------------------- + echo Installing ${bold}${yellow}Custom Rave Wallpapers${normal} + echo + sudo rm -rf /usr/share/backgrounds/pop + sudo mkdir -p /usr/share/backgrounds/pop + sudo tar -xvf RP_Wallpapers.tar.xz -C /usr/share/backgrounds/pop/ + sudo cp -a pop-wallpapers.xml /usr/share/gnome-background-properties/ + echo + echo ${bold}${yellow}Custom Rave Wallpapers ${normal}installed. + echo --------------------------------------------- + +# Disabling Geoclue + echo --------------------------------------------- + echo Installing ${bold}${yellow}Geoclue service disabling / masking${normal} + echo + sudo systemctl disable geoclue.service + sudo systemctl mask geoclue.service + echo + echo ${bold}${yellow}Geoclue service disabling / masking ${normal}finished. + echo --------------------------------------------- + +# Enable x86 + echo --------------------------------------------- + echo Enabling ${bold}${yellow}x86 architecture${normal} + echo + sudo dpkg --add-architecture i386 + echo + echo ${bold}${yellow}x86 architecture ${normal}enabled. + echo --------------------------------------------- + +# Dependencies + echo --------------------------------------------- + echo Installing ${bold}${yellow}Dependencies${normal} + echo + sudo nala install python3-pydbus gettext lm-sensors libgtksourceview-4-dev python3-psutil libgconf-2-4 libappindicator1 libc++1 gconf2 libsystemd-dev pkg-config ninja-build git libdbus-1-dev libinih-dev build-essential python3-dev libgirepository1.0-dev appstream-util python3 python3-pip gir1.2-appindicator3-0.1 gnome-shell-extension-appindicator libdazzle-1.0-dev debhelper debugedit dh-autoreconf dh-strip-nondeterminism dwz fp-compiler fp-compiler-3.2.2 fp-docs-3.2.2 fp-ide-3.2.2 fp-units-base-3.2.2 fp-units-db-3.2.2 fp-units-fcl-3.2.2 fp-units-fv-3.2.2 fp-units-gfx-3.2.2 fp-units-gtk2-3.2.2 fp-units-math-3.2.2 fp-units-misc-3.2.2 fp-units-multimedia-3.2.2 fp-units-net-3.2.2 fp-units-rtl-3.2.2 fp-utils-3.2.2 fpc fpc-3.2.2 fpc-source-3.2.2 gdb gir1.2-gtk-2.0 intltool-debian lcl-2.2 lcl-gtk2-2.2 lcl-nogui-2.2 lcl-units-2.2 lcl-utils-2.2 liba52-0.7.4 liba52-0.7.4-dev libarchive-cpio-perl libarchive-zip-perl libasound2-dev libbabeltrace1 libc6-dbg libcaca-dev libdebhelper-perl libdebuginfod-common libdebuginfod1 libfile-stripnondeterminism-perl libflac-dev libfluidsynth3 libforms-dev libforms2 libgd-dev libgl1-mesa-dev libglu1-mesa-dev libgmp-dev libgmpxx4ldbl libgraphviz-dev libgtk2.0-dev libgvc6-plugins-gtk libinstpatch-1.0-2 libipt2 libltdl-dev libmad0 libmad0-dev libmail-sendmail-perl libmikmod-dev libmodplug-dev libmodplug1 libogg-dev libproxy-tools libpulse-dev libsdl-mixer1.2 libsdl-mixer1.2-dev libsdl1.2-dev libslang2-dev libsource-highlight-common libsource-highlight4v5 libsub-override-perl libsys-hostname-long-perl libtool libvlc-bin libvlc-dev libvlc5 libvlccore9 libvorbis-dev libvpx-dev libxdot4 libxpm-dev libxt-dev libxxf86dga-dev libxxf86vm-dev m4 po-debconf gcc-multilib g++-multilib mesa-common-dev libxnvctrl-dev python3-evdev python3-decorator python3-pyte libpython3-dev python3-setuptools python3-pydantic meson v4l-utils libspeexdsp1 ffmpeg -y + + # v4l2loopback-dkms v4l2loopback-utils libqt5sql5 libqt5svg5 libqt5xml5 + + echo + echo ${bold}${yellow}Dependencies ${normal}installed. + echo --------------------------------------------- + + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}XanMod - Gaming Kernel AMD - DEB Pkg${normal} + + wget -qO - https://dl.xanmod.org/archive.key | sudo gpg --dearmor -o /usr/share/keyrings/xanmod-archive-keyring.gpg + echo 'deb [signed-by=/usr/share/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-release.list + sudo apt update && sudo apt install linux-xanmod-edge-x64v4 -y + + echo ${bold}${yellow}XanMod - Gaming Kernel AMD ${normal}installed. + echo --------------------------------------------- + echo + +# Flatseal - Flatpak app jogosultság beállító +echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Flatseal - flatpak${normal} + + flatpak install flathub com.github.tchx84.Flatseal --user -y + sudo cp -a overrides /home/$USER/.local/share/flatpak + + echo ${bold}${yellow}Flatseal ${normal}installed. + echo --------------------------------------------- + echo + +# All Updates + echo --------------------------------------------- + echo ${bold}${yellow}Upgrading the System${normal} + echo + sudo nala upgrade -y + echo + echo ${bold}${yellow}System upgraded!${normal} + echo --------------------------------------------- + +fwupdmgr update -y + +# User beállítások + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}User settings${normal} + plasma-apply-colorscheme BreezeDark + plasma-apply-desktoptheme breeze-dark + plasma-apply-lookandfeel org.kde.breezedark.desktop + + # Debloater Script by DanyHolder + sudo nala purge gnome-calendar* gnome-contacts* gnome-weather* pop-shop* gnome-remote-desktop* gucharmap* com.github.donadigo.eddy* totem* geary* seahorse* popsicle* libreoffice-draw* libreoffice-math* libreoffice-impress* imagemagick* vinagre* gnome-font-viewer gnome-power-manager -y + + echo ${bold}${yellow}User settings ${normal}installed. + echo --------------------------------------------- + + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Gnome Extension Manager - DEB Pkg${normal} + + sudo apt install gnome-shell-extensions -y + + echo ${bold}${yellow}Gnome Extension Manager / All Gnome Extensions ${normal}installed. + echo --------------------------------------------- + + dconf load / < raveui* + +if [[ $user_choice = *"AMD GPU - Angol Nyelv"* ]]; then + +# Wayland Auto-Enable + echo + echo --------------------------------------------- + echo Enabling ${bold}${yellow}Wayland Window Manager${normal} + echo + sudo cp -a rave-pp.png /usr/share/pixmaps/faces/ + sudo sed -i 's/WaylandEnable=false/WaylandEnable=true/' /etc/gdm3/custom.conf + sudo sed -i '5d' /var/lib/AccountsService/users/$USER + sudo sed -i '5 i Icon=/usr/share/pixmaps/faces/rave-pp.png' /var/lib/AccountsService/users/$USER + echo 'Session=pop-wayland' | sudo tee -a /var/lib/AccountsService/users/$USER + sudo cp -a .themes /home/$USER/ + sudo cp -a .icons /home/$USER/ + sudo cp -a .mozilla /home/$USER/ + echo + echo ${bold}${yellow}Wayland Window Manager ${normal}enabled. + echo --------------------------------------------- + echo + +fi + +if [[ $user_choice = *"AMD GPU - Magyar Nyelv"* ]]; then +# Wayland Auto-Enable + echo + echo --------------------------------------------- + echo Enabling ${bold}${yellow}Wayland Window Manager${normal} + echo + sudo cp -a rave-pp.png /usr/share/pixmaps/faces/ + sudo sed -i 's/WaylandEnable=false/WaylandEnable=true/' /etc/gdm3/custom.conf + sudo sed -i '5d' /var/lib/AccountsService/users/$USER + sudo sed -i '5 i Icon=/usr/share/pixmaps/faces/rave-pp.png' /var/lib/AccountsService/users/$USER + echo 'Session=pop-wayland' | sudo tee -a /var/lib/AccountsService/users/$USER + sudo cp -a .themes /home/$USER/ + sudo cp -a .icons /home/$USER/ + sudo cp -a .mozilla /home/$USER/ + echo + echo ${bold}${yellow}Wayland Window Manager ${normal}enabled. + echo --------------------------------------------- + echo + + echo + echo --------------------------------------------- + echo Downloading ${bold}${yellow}Hungarian LangPack${normal} + echo + sudo apt install language-pack-gnome-hu language-pack-gnome-hu-base language-pack-hu language-pack-hu-base -y + echo + echo ${bold}${yellow}Hungarian LangPack ${normal}downloaded. + echo --------------------------------------------- + +fi + +if [[ $user_choice = *"Nvidia GPU - Angol Nyelv"* ]]; then + echo --------------------------------------------- + echo Installing ${bold}${yellow}Nvidia Driver Version 535${normal} + sudo cp -a nvidia-pin1002 /etc/apt/preferences.d + sudo add-apt-repository ppa:graphics-drivers/ppa -y + sudo apt update + sudo apt install nvidia-driver-535 -y + sudo apt-mark hold nvidia-driver-535 + sudo cp -a rave-pp.png /usr/share/pixmaps/faces/ + sudo sed -i 's/WaylandEnable=false/WaylandEnable=true/' /etc/gdm3/custom.conf + sudo sed -i '5d' /var/lib/AccountsService/users/$USER + sudo sed -i '5 i Icon=/usr/share/pixmaps/faces/rave-pp.png' /var/lib/AccountsService/users/$USER + sudo cp -a .themes /home/$USER/ + sudo cp -a .icons /home/$USER/ + sudo cp -a .mozilla /home/$USER/ + echo Nvidia Driver Version 535 ${bold}${yellow}installed.${normal} + echo --------------------------------------------- +fi + +if [[ $user_choice = *"Nvidia GPU - Magyar Nyelv"* ]]; then + echo --------------------------------------------- + echo Installing ${bold}${yellow}Nvidia Driver Version 535${normal} + sudo cp -a nvidia-pin1002 /etc/apt/preferences.d + sudo add-apt-repository ppa:graphics-drivers/ppa -y + sudo apt update + sudo apt install nvidia-driver-535 -y + sudo apt-mark hold nvidia-driver-535 + sudo cp -a rave-pp.png /usr/share/pixmaps/faces/ + sudo sed -i 's/WaylandEnable=false/WaylandEnable=true/' /etc/gdm3/custom.conf + sudo sed -i '5d' /var/lib/AccountsService/users/$USER + sudo sed -i '5 i Icon=/usr/share/pixmaps/faces/rave-pp.png' /var/lib/AccountsService/users/$USER + sudo cp -a .themes /home/$USER/ + sudo cp -a .icons /home/$USER/ + sudo cp -a .mozilla /home/$USER/ + echo Nvidia Driver Version 535 ${bold}${yellow}installed.${normal} + echo --------------------------------------------- + echo + echo --------------------------------------------- + echo Downloading ${bold}${yellow}Hungarian LangPack${normal} + echo + sudo apt install language-pack-gnome-hu language-pack-gnome-hu-base language-pack-hu language-pack-hu-base -y + echo + echo ${bold}${yellow}Hungarian LangPack ${normal}downloaded. + echo --------------------------------------------- + echo +fi + +# Script end + +echo ${bold}${yellow}The system will restart in 3 seconds...${normal} +echo ${bold}${yellow}3...${normal} +sleep 1 +echo ${bold}${yellow}2...${normal} +sleep 1 +echo ${bold}${yellow}1...${normal} +sleep 1 + +sudo reboot \ No newline at end of file diff --git a/1update-gpt.sh b/1update-gpt.sh new file mode 100644 index 0000000..33a5db6 --- /dev/null +++ b/1update-gpt.sh @@ -0,0 +1,308 @@ +#!/usr/bin/env bash + +bold=$(tput bold) # ${bold} +normal=$(tput sgr0) # ${normal} +yellow=$(tput setaf 3) # ${yellow} + +# Zenity ablak megjelenítése +user_choice=$(zenity --list --radiolist --width='650' --height='370' \ + --title="Válaszd ki a nyelvet és a GPU-t!" \ + --text="Válassz az alábbi opciók közül:" \ + --column="Válassz" --column="GPU - Rendszer nyelv" \ + FALSE "English Language" \ + FALSE "Magyar Nyelv") +if [[ $? -eq 1 ]]; then + echo ${bold}${yellow}A script futása leállítva. Kilépés!${normal} + exit 1 +fi + + +# Nala telepítés + echo --------------------------------------------- + echo Installing ${bold}${yellow}NALA - DEB Pkg${normal} + echo + sudo apt update + sudo apt install nala -y + sudo apt purge ubuntu-advantage-tools -y + sudo sed -i 's/.set.enabled=true/.set.enabled=false/' /var/lib/NetworkManager/NetworkManager-intern.conf + echo + echo ${bold}${yellow}NALA - DEB Pkg ${normal}installed. + echo --------------------------------------------- + +# Adding Custom rave command +echo --------------------------------------------- + echo Installing ${bold}${yellow}rave command.${normal} + echo + sudo cp -a rave /usr/local/bin/ + sudo chmod +x /usr/local/bin/rave + sudo cp -a rave-comp.sh /etc/bash_completion.d/ + sudo chmod +x /etc/bash_completion.d/rave-comp.sh + echo + echo ${bold}${yellow}Rave command with bash completion ${normal}installed. + echo --------------------------------------------- + +# Installing GNOME Software + echo --------------------------------------------- + echo Installing ${bold}${yellow}GNOME Software and Flatpak Plugin - DEB Pkg${normal} + echo + sudo nala remove pop-shop* -y + sudo apt install gnome-software gnome-software-plugin-flatpak -y + echo + echo ${bold}${yellow}GNOME Software and Flatpak Plugin ${normal}installed. + echo --------------------------------------------- + + # Installing Custom Rave Wallpapers made by DanyHolder & Pacuka + echo --------------------------------------------- + echo Installing ${bold}${yellow}Custom Rave Wallpapers${normal} + echo + sudo rm -rf /usr/share/backgrounds/pop + sudo mkdir -p /usr/share/backgrounds/pop + sudo tar -xvf RP_Wallpapers.tar.xz -C /usr/share/backgrounds/pop/ + sudo cp -a rave-Wallpapers.xml /usr/share/gnome-background-properties/ + echo + echo ${bold}${yellow}Custom Rave Wallpapers ${normal}installed. + echo --------------------------------------------- + +# Yaru Theme + echo --------------------------------------------- + echo Installing ${bold}${yellow}Yaru theme - DEB Pkg${normal} + echo + sudo apt install yaru-theme-* -y + echo + echo ${bold}${yellow}Yaru theme ${normal}installed. + echo --------------------------------------------- + +# Setting Yaru Dark Black Theme + echo --------------------------------------------- + echo Installing ${bold}${yellow}Setting correct Rave Theme${normal} + echo + gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-purple-dark' + gsettings set org.gnome.desktop.interface cursor-theme 'Yaru' + gsettings set org.gnome.desktop.interface icon-theme 'Yaru-purple-dark' + gsettings set org.gnome.desktop.sound theme-name 'Yaru' + echo + echo ${bold}${yellow}Correct Rave Theme ${normal}set. + echo --------------------------------------------- + +# Gsettings changes + echo --------------------------------------------- + echo Installing ${bold}${yellow}Setting UI Preferences before DCONF${normal} + echo + gsettings set org.gnome.desktop.screensaver lock-enabled false + gsettings set org.gnome.desktop.session idle-delay 0 + gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close" + gsettings set org.gnome.mutter center-new-windows true + echo + echo ${bold}${yellow}UI Preferences before DCONF ${normal}set. + echo --------------------------------------------- + +# Disabling Geoclue + echo --------------------------------------------- + echo Installing ${bold}${yellow}Geoclue service disabling / masking${normal} + echo + sudo systemctl disable geoclue.service + sudo systemctl mask geoclue.service + echo + echo ${bold}${yellow}Geoclue service disabling / masking ${normal}finished. + echo --------------------------------------------- + +# Enable x86 + echo --------------------------------------------- + echo Enabling ${bold}${yellow}x86 architecture${normal} + echo + sudo dpkg --add-architecture i386 + echo + echo ${bold}${yellow}x86 architecture ${normal}enabled. + echo --------------------------------------------- + +# Dependencies + echo --------------------------------------------- + echo Installing ${bold}${yellow}Dependencies${normal} + echo + sudo nala install lm-sensors ffmpeg -y + echo + echo ${bold}${yellow}Dependencies ${normal}installed. + echo --------------------------------------------- + +# Xanmod Kernel + echo --------------------------------------------- + echo Installing ${bold}${yellow}XanMod - Gaming Kernel AMD - DEB Pkg${normal} + + wget -qO - https://dl.xanmod.org/archive.key | sudo gpg --dearmor -o /usr/share/keyrings/xanmod-archive-keyring.gpg + echo 'deb [signed-by=/usr/share/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-release.list + sudo apt update && sudo apt install linux-xanmod-edge-x64v4 -y + + echo ${bold}${yellow}XanMod - Gaming Kernel AMD ${normal}installed. + echo --------------------------------------------- + +# Flatseal - Flatpak app jogosultság beállító +echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Flatseal - flatpak${normal} + + flatpak install flathub com.github.tchx84.Flatseal --user -y + sudo cp -a overrides /home/$USER/.local/share/flatpak + + echo ${bold}${yellow}Flatseal ${normal}installed. + echo --------------------------------------------- + echo + +# All Updates + echo --------------------------------------------- + echo ${bold}${yellow}Upgrading the System${normal} + echo + sudo nala upgrade -y + echo + echo ${bold}${yellow}System upgraded!${normal} + echo --------------------------------------------- + +fwupdmgr update -y + +# User beállítások + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}User settings${normal} + + sudo rsync -ap --info=progress2 raveos-bg.png /usr/share/backgrounds/ + sudo rsync -ap --info=progress2 gnome-shell /home/$USER/.local/share/ + sudo rsync -ap --info=progress2 burn-my-windows /home/$USER/.config/ + sudo apt install git -y + git clone --depth=1 https://github.com/realmazharhussain/gdm-tools.git + sudo rsync -ap --info=progress2 install.sh gdm-settings/ + cd gdm-tools + ./install.sh + cd - + set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png + dconf load / < raveui-* + sudo apt update + sudo apt upgrade -y + sudo rm -rf gdm-tools + # Debloater Script by DanyHolder + sudo nala purge gnome-contacts* pop-shop* gnome-remote-desktop* gucharmap* com.github.donadigo.eddy* totem* geary* seahorse* popsicle* libreoffice-draw* libreoffice-math* libreoffice-impress* imagemagick* vinagre* gnome-font-viewer gnome-power-manager -y + + echo ${bold}${yellow}User settings ${normal}installed. + echo --------------------------------------------- + + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Gnome Extension Manager - DEB Pkg${normal} + + sudo apt install gnome-shell-extensions -y + + echo ${bold}${yellow}Gnome Extension Manager / All Gnome Extensions ${normal}installed. + echo --------------------------------------------- + + dconf load / < raveui* + + echo --------------------------------------------- + echo Installing ${bold}${yellow}Librewolf - DEB Pkg${normal} + + sudo apt update && sudo apt install -y wget gnupg lsb-release apt-transport-https ca-certificates + + distro=$(if echo " una bookworm vanessa focal jammy bullseye vera uma " | grep -q " $(lsb_release -sc) "; then lsb_release -sc; else echo focal; fi) + + wget -O- https://deb.librewolf.net/keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/librewolf.gpg + sudo tee /etc/apt/sources.list.d/librewolf.sources << EOF > /dev/null +Types: deb +URIs: https://deb.librewolf.net +Suites: $distro +Components: main +Architectures: amd64 +Signed-By: /usr/share/keyrings/librewolf.gpg +EOF + sudo apt update + sudo nala install librewolf -y + sudo cp -a .librewolf /home/$USER/ + + echo ${bold}${yellow}LibreWolf ${normal}installed. + echo --------------------------------------------- + + echo --------------------------------------------- + echo Installing ${bold}${yellow}VLC Media Player - flatpak${normal} + + flatpak install flathub org.videolan.VLC --user -y + + echo ${bold}${yellow}VLC Media Player ${normal}installed. + echo --------------------------------------------- + + echo --------------------------------------------- + echo Installing ${bold}${yellow}QBittorrent - flatpak${normal} + + flatpak install flathub org.qbittorrent.qBittorrent --user -y + + echo ${bold}${yellow}QBittorrent ${normal}installed. + echo --------------------------------------------- + + echo --------------------------------------------- + echo Installing ${bold}${yellow}FreeTube - flatpak${normal} + + flatpak install flathub io.freetubeapp.FreeTube --user -y + + echo ${bold}${yellow}FreeTube ${normal}installed. + echo --------------------------------------------- + + if [[ $user_choice = *"English Language"* ]]; then + + # Wayland Auto-Enable + echo + echo --------------------------------------------- + echo Enabling ${bold}${yellow}Wayland Window Manager${normal} + echo + sudo cp -a rave-pp.png /usr/share/pixmaps/faces/ + sudo sed -i 's/WaylandEnable=false/WaylandEnable=true/' /etc/gdm3/custom.conf + sudo sed -i '5d' /var/lib/AccountsService/users/$USER + sudo sed -i '5 i Icon=/usr/share/pixmaps/faces/rave-pp.png' /var/lib/AccountsService/users/$USER + echo 'Session=pop-wayland' | sudo tee -a /var/lib/AccountsService/users/$USER + sudo cp -a .themes /home/$USER/ + sudo cp -a .icons /home/$USER/ + sudo cp -a .mozilla /home/$USER/ + dconf load / < raveui-eng + echo + echo ${bold}${yellow}Wayland Window Manager ${normal}enabled. + echo --------------------------------------------- + echo + + if [[ $user_choice = *"Magyar Nyelv"* ]]; then + + # Wayland Auto-Enable + echo + echo --------------------------------------------- + echo Enabling ${bold}${yellow}Wayland Window Manager${normal} + echo + sudo cp -a rave-pp.png /usr/share/pixmaps/faces/ + sudo sed -i 's/WaylandEnable=false/WaylandEnable=true/' /etc/gdm3/custom.conf + sudo sed -i '5d' /var/lib/AccountsService/users/$USER + sudo sed -i '5 i Icon=/usr/share/pixmaps/faces/rave-pp.png' /var/lib/AccountsService/users/$USER + echo 'Session=pop-wayland' | sudo tee -a /var/lib/AccountsService/users/$USER + sudo cp -a .themes /home/$USER/ + sudo cp -a .icons /home/$USER/ + sudo cp -a .mozilla /home/$USER/ + dconf load / < raveui-hun + echo + echo ${bold}${yellow}Wayland Window Manager ${normal}enabled. + echo --------------------------------------------- + echo + + echo + echo --------------------------------------------- + echo Downloading ${bold}${yellow}Hungarian LangPack${normal} + echo + sudo apt install language-pack-gnome-hu language-pack-gnome-hu-base language-pack-hu language-pack-hu-base -y + echo + echo ${bold}${yellow}Hungarian LangPack ${normal}downloaded. + echo --------------------------------------------- + +fi + + +# Script end + +echo ${bold}${yellow}The system will restart in 3 seconds...${normal} +echo ${bold}${yellow}3...${normal} +sleep 1 +echo ${bold}${yellow}2...${normal} +sleep 1 +echo ${bold}${yellow}1...${normal} +sleep 1 + +sudo reboot diff --git a/1update-mbr.sh b/1update-mbr.sh new file mode 100644 index 0000000..dd8ced2 --- /dev/null +++ b/1update-mbr.sh @@ -0,0 +1,297 @@ +#!/usr/bin/env bash + +bold=$(tput bold) # ${bold} +normal=$(tput sgr0) # ${normal} +yellow=$(tput setaf 3) # ${yellow} + +# Zenity ablak megjelenítése +user_choice=$(zenity --list --radiolist --width='650' --height='370' \ + --title="Válaszd ki a nyelvet és a GPU-t!" \ + --text="Válassz az alábbi opciók közül:" \ + --column="Válassz" --column="GPU - Rendszer nyelv" \ + FALSE "English Language" \ + FALSE "Magyar Nyelv") +if [[ $? -eq 1 ]]; then + echo ${bold}${yellow}A script futása leállítva. Kilépés!${normal} + exit 1 +fi + + +# Nala telepítés + echo --------------------------------------------- + echo Installing ${bold}${yellow}NALA - DEB Pkg${normal} + echo + sudo apt update + sudo apt install nala -y + sudo apt purge ubuntu-advantage-tools -y + sudo sed -i 's/.set.enabled=true/.set.enabled=false/' /var/lib/NetworkManager/NetworkManager-intern.conf + echo + echo ${bold}${yellow}NALA - DEB Pkg ${normal}installed. + echo --------------------------------------------- + +# Adding Custom rave command +echo --------------------------------------------- + echo Installing ${bold}${yellow}rave command.${normal} + echo + sudo cp -a rave /usr/local/bin/ + sudo chmod +x /usr/local/bin/rave + sudo cp -a rave-comp.sh /etc/bash_completion.d/ + sudo chmod +x /etc/bash_completion.d/rave-comp.sh + echo + echo ${bold}${yellow}Rave command with bash completion ${normal}installed. + echo --------------------------------------------- + +# Installing GNOME Software + echo --------------------------------------------- + echo Installing ${bold}${yellow}GNOME Software and Flatpak Plugin - DEB Pkg${normal} + echo + sudo nala remove pop-shop* -y + sudo apt install gnome-software gnome-software-plugin-flatpak -y + echo + echo ${bold}${yellow}GNOME Software and Flatpak Plugin ${normal}installed. + echo --------------------------------------------- + + # Installing Custom Rave Wallpapers made by DanyHolder & Pacuka + echo --------------------------------------------- + echo Installing ${bold}${yellow}Custom Rave Wallpapers${normal} + echo + sudo rm -rf /usr/share/backgrounds/pop + sudo mkdir -p /usr/share/backgrounds/pop + sudo tar -xvf RP_Wallpapers.tar.xz -C /usr/share/backgrounds/pop/ + sudo cp -a rave-Wallpapers.xml /usr/share/gnome-background-properties/ + echo + echo ${bold}${yellow}Custom Rave Wallpapers ${normal}installed. + echo --------------------------------------------- + +# Yaru Theme + echo --------------------------------------------- + echo Installing ${bold}${yellow}Yaru theme - DEB Pkg${normal} + echo + sudo apt install yaru-theme-* -y + echo + echo ${bold}${yellow}Yaru theme ${normal}installed. + echo --------------------------------------------- + +# Setting Yaru Dark Black Theme + echo --------------------------------------------- + echo Installing ${bold}${yellow}Setting correct Rave Theme${normal} + echo + gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-purple-dark' + gsettings set org.gnome.desktop.interface cursor-theme 'Yaru' + gsettings set org.gnome.desktop.interface icon-theme 'Yaru-purple-dark' + gsettings set org.gnome.desktop.sound theme-name 'Yaru' + echo + echo ${bold}${yellow}Correct Rave Theme ${normal}set. + echo --------------------------------------------- + +# Gsettings changes + echo --------------------------------------------- + echo Installing ${bold}${yellow}Setting UI Preferences before DCONF${normal} + echo + gsettings set org.gnome.desktop.screensaver lock-enabled false + gsettings set org.gnome.desktop.session idle-delay 0 + gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close" + gsettings set org.gnome.mutter center-new-windows true + echo + echo ${bold}${yellow}UI Preferences before DCONF ${normal}set. + echo --------------------------------------------- + +# Disabling Geoclue + echo --------------------------------------------- + echo Installing ${bold}${yellow}Geoclue service disabling / masking${normal} + echo + sudo systemctl disable geoclue.service + sudo systemctl mask geoclue.service + echo + echo ${bold}${yellow}Geoclue service disabling / masking ${normal}finished. + echo --------------------------------------------- + +# Enable x86 + echo --------------------------------------------- + echo Enabling ${bold}${yellow}x86 architecture${normal} + echo + sudo dpkg --add-architecture i386 + echo + echo ${bold}${yellow}x86 architecture ${normal}enabled. + echo --------------------------------------------- + +# Dependencies + echo --------------------------------------------- + echo Installing ${bold}${yellow}Dependencies${normal} + echo + sudo nala install lm-sensors ffmpeg -y + echo + echo ${bold}${yellow}Dependencies ${normal}installed. + echo --------------------------------------------- + +# Flatseal - Flatpak app jogosultság beállító +echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Flatseal - flatpak${normal} + + flatpak install flathub com.github.tchx84.Flatseal --user -y + sudo cp -a overrides /home/$USER/.local/share/flatpak + + echo ${bold}${yellow}Flatseal ${normal}installed. + echo --------------------------------------------- + echo + +# All Updates + echo --------------------------------------------- + echo ${bold}${yellow}Upgrading the System${normal} + echo + sudo nala upgrade -y + echo + echo ${bold}${yellow}System upgraded!${normal} + echo --------------------------------------------- + +fwupdmgr update -y + +# User beállítások + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}User settings${normal} + + sudo rsync -ap --info=progress2 raveos-bg.png /usr/share/backgrounds/ + sudo rsync -ap --info=progress2 gnome-shell /home/$USER/.local/share/ + sudo rsync -ap --info=progress2 burn-my-windows /home/$USER/.config/ + sudo apt install git -y + git clone --depth=1 https://github.com/realmazharhussain/gdm-tools.git + sudo rsync -ap --info=progress2 install.sh gdm-settings/ + cd gdm-tools + ./install.sh + cd - + set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png + dconf load / < raveui-* + sudo apt update + sudo apt upgrade -y + sudo rm -rf gdm-tools + # Debloater Script by DanyHolder + sudo nala purge gnome-contacts* pop-shop* gnome-remote-desktop* gucharmap* com.github.donadigo.eddy* totem* geary* seahorse* popsicle* libreoffice-draw* libreoffice-math* libreoffice-impress* imagemagick* vinagre* gnome-font-viewer gnome-power-manager -y + + echo ${bold}${yellow}User settings ${normal}installed. + echo --------------------------------------------- + + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Gnome Extension Manager - DEB Pkg${normal} + + sudo apt install gnome-shell-extensions -y + + echo ${bold}${yellow}Gnome Extension Manager / All Gnome Extensions ${normal}installed. + echo --------------------------------------------- + + dconf load / < raveui* + + echo --------------------------------------------- + echo Installing ${bold}${yellow}Librewolf - DEB Pkg${normal} + + sudo apt update && sudo apt install -y wget gnupg lsb-release apt-transport-https ca-certificates + + distro=$(if echo " una bookworm vanessa focal jammy bullseye vera uma " | grep -q " $(lsb_release -sc) "; then lsb_release -sc; else echo focal; fi) + + wget -O- https://deb.librewolf.net/keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/librewolf.gpg + sudo tee /etc/apt/sources.list.d/librewolf.sources << EOF > /dev/null +Types: deb +URIs: https://deb.librewolf.net +Suites: $distro +Components: main +Architectures: amd64 +Signed-By: /usr/share/keyrings/librewolf.gpg +EOF + sudo apt update + sudo nala install librewolf -y + sudo cp -a .librewolf /home/$USER/ + + echo ${bold}${yellow}LibreWolf ${normal}installed. + echo --------------------------------------------- + + echo --------------------------------------------- + echo Installing ${bold}${yellow}VLC Media Player - flatpak${normal} + + flatpak install flathub org.videolan.VLC --user -y + + echo ${bold}${yellow}VLC Media Player ${normal}installed. + echo --------------------------------------------- + + echo --------------------------------------------- + echo Installing ${bold}${yellow}QBittorrent - flatpak${normal} + + flatpak install flathub org.qbittorrent.qBittorrent --user -y + + echo ${bold}${yellow}QBittorrent ${normal}installed. + echo --------------------------------------------- + + echo --------------------------------------------- + echo Installing ${bold}${yellow}FreeTube - flatpak${normal} + + flatpak install flathub io.freetubeapp.FreeTube --user -y + + echo ${bold}${yellow}FreeTube ${normal}installed. + echo --------------------------------------------- + + if [[ $user_choice = *"English Language"* ]]; then + + # Wayland Auto-Enable + echo + echo --------------------------------------------- + echo Enabling ${bold}${yellow}Wayland Window Manager${normal} + echo + sudo cp -a rave-pp.png /usr/share/pixmaps/faces/ + sudo sed -i 's/WaylandEnable=false/WaylandEnable=true/' /etc/gdm3/custom.conf + sudo sed -i '5d' /var/lib/AccountsService/users/$USER + sudo sed -i '5 i Icon=/usr/share/pixmaps/faces/rave-pp.png' /var/lib/AccountsService/users/$USER + echo 'Session=pop-wayland' | sudo tee -a /var/lib/AccountsService/users/$USER + sudo cp -a .themes /home/$USER/ + sudo cp -a .icons /home/$USER/ + sudo cp -a .mozilla /home/$USER/ + dconf load / < raveui-eng + echo + echo ${bold}${yellow}Wayland Window Manager ${normal}enabled. + echo --------------------------------------------- + echo + + if [[ $user_choice = *"Magyar Nyelv"* ]]; then + + # Wayland Auto-Enable + echo + echo --------------------------------------------- + echo Enabling ${bold}${yellow}Wayland Window Manager${normal} + echo + sudo cp -a rave-pp.png /usr/share/pixmaps/faces/ + sudo sed -i 's/WaylandEnable=false/WaylandEnable=true/' /etc/gdm3/custom.conf + sudo sed -i '5d' /var/lib/AccountsService/users/$USER + sudo sed -i '5 i Icon=/usr/share/pixmaps/faces/rave-pp.png' /var/lib/AccountsService/users/$USER + echo 'Session=pop-wayland' | sudo tee -a /var/lib/AccountsService/users/$USER + sudo cp -a .themes /home/$USER/ + sudo cp -a .icons /home/$USER/ + sudo cp -a .mozilla /home/$USER/ + dconf load / < raveui-hun + echo + echo ${bold}${yellow}Wayland Window Manager ${normal}enabled. + echo --------------------------------------------- + echo + + echo + echo --------------------------------------------- + echo Downloading ${bold}${yellow}Hungarian LangPack${normal} + echo + sudo apt install language-pack-gnome-hu language-pack-gnome-hu-base language-pack-hu language-pack-hu-base -y + echo + echo ${bold}${yellow}Hungarian LangPack ${normal}downloaded. + echo --------------------------------------------- + +fi + + +# Script end + +echo ${bold}${yellow}The system will restart in 3 seconds...${normal} +echo ${bold}${yellow}3...${normal} +sleep 1 +echo ${bold}${yellow}2...${normal} +sleep 1 +echo ${bold}${yellow}1...${normal} +sleep 1 + +sudo reboot \ No newline at end of file diff --git a/1update.sh b/1update.sh new file mode 100644 index 0000000..755fd12 --- /dev/null +++ b/1update.sh @@ -0,0 +1,336 @@ +#!/usr/bin/env bash + +bold=$(tput bold) # ${bold} +normal=$(tput sgr0) # ${normal} +yellow=$(tput setaf 3) # ${yellow} + +# Zenity ablak megjelenítése +user_choice=$(zenity --list --radiolist --width='650' --height='370' \ + --title="Válaszd ki a nyelvet és a GPU-t!" \ + --text="Válassz az alábbi opciók közül:" \ + --column="Válassz" --column="GPU - Rendszer nyelv" \ + FALSE "AMD GPU - Angol Nyelv" \ + FALSE "AMD GPU - Magyar Nyelv" \ + FALSE "Nvidia GPU - Angol Nyelv" \ + FALSE "Nvidia GPU - Magyar Nyelv" ) +if [[ $? -eq 1 ]]; then + echo ${bold}${yellow}A script futása leállítva. Kilépés!${normal} + exit 1 +fi + +# Nala telepítés + echo --------------------------------------------- + echo Installing ${bold}${yellow}NALA - DEB Pkg${normal} + echo + sudo apt update + sudo apt install nala -y + sudo apt purge ubuntu-advantage-tools -y + sudo sed -i 's/.set.enabled=true/.set.enabled=false/' /var/lib/NetworkManager/NetworkManager-intern.conf + echo + echo ${bold}${yellow}NALA - DEB Pkg ${normal}installed. + echo --------------------------------------------- + +# Creating autostart folder + echo --------------------------------------------- + echo Installing ${bold}${yellow}Creating autostart folder${normal} + echo + mkdir -p /home/$USER/.config/autostart + sudo chown $USER:$GROUP /home/$USER/.config/autostart + echo + echo ${bold}${yellow}Autostart folder ${normal}created. + echo --------------------------------------------- + +# Autostarting ProgramScript after restart +echo --------------------------------------------- + echo Installing ${bold}${yellow}ProgramScript Autostart${normal} + echo + sudo cp -a 3progs.sh.desktop /home/$USER/.config/autostart + echo Exec=/home/$USER/.progs/3progs.sh >> /home/$USER/.config/autostart/3progs.sh.desktop + sudo mkdir -p /home/$USER/.progs + sudo chown $USER:$GROUP /home/$USER/.progs + sudo cp -a 3progs.sh /home/$USER/.progs + sudo chmod +x /home/$USER/.progs/3progs.sh + sudo cp -a content-*/. /home/$USER/.progs + echo + echo ${bold}${yellow}ProgramScript Autostart ${normal}installed. + echo --------------------------------------------- + +# Adding Custom rave command +echo --------------------------------------------- + echo Installing ${bold}${yellow}rave command.${normal} + echo + sudo cp -a rave /usr/local/bin/ + sudo chmod +x /usr/local/bin/rave + sudo cp -a rave-comp.sh /etc/bash_completion.d/ + sudo chmod +x /etc/bash_completion.d/rave-comp.sh + echo + echo ${bold}${yellow}Rave command with bash completion ${normal}installed. + echo --------------------------------------------- + +# Installing GNOME Software + echo --------------------------------------------- + echo Installing ${bold}${yellow}GNOME Software and Flatpak Plugin - DEB Pkg${normal} + echo + sudo nala remove pop-shop* -y + sudo apt install gnome-software gnome-software-plugin-flatpak -y + echo + echo ${bold}${yellow}GNOME Software and Flatpak Plugin ${normal}installed. + echo --------------------------------------------- + + # Installing Custom Rave Wallpapers made by DanyHolder & Pacuka + echo --------------------------------------------- + echo Installing ${bold}${yellow}Custom Rave Wallpapers${normal} + echo + sudo rm -rf /usr/share/backgrounds/pop + sudo mkdir -p /usr/share/backgrounds/pop + sudo tar -xvf RP_Wallpapers.tar.xz -C /usr/share/backgrounds/pop/ + sudo cp -a pop-wallpapers.xml /usr/share/gnome-background-properties/ + echo + echo ${bold}${yellow}Custom Rave Wallpapers ${normal}installed. + echo --------------------------------------------- + +# Yaru Theme + echo --------------------------------------------- + echo Installing ${bold}${yellow}Yaru theme - DEB Pkg${normal} + echo + sudo apt install yaru-theme-* -y + echo + echo ${bold}${yellow}Yaru theme ${normal}installed. + echo --------------------------------------------- + +# Setting Yaru Dark Black Theme + echo --------------------------------------------- + echo Installing ${bold}${yellow}Setting correct Rave Theme${normal} + echo + gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-purple-dark' + gsettings set org.gnome.desktop.interface cursor-theme 'Yaru' + gsettings set org.gnome.desktop.interface icon-theme 'Yaru-purple-dark' + gsettings set org.gnome.desktop.sound theme-name 'Yaru' + echo + echo ${bold}${yellow}Correct Rave Theme ${normal}set. + echo --------------------------------------------- + +# Gsettings changes + echo --------------------------------------------- + echo Installing ${bold}${yellow}Setting UI Preferences before DCONF${normal} + echo + gsettings set org.gnome.desktop.screensaver lock-enabled false + gsettings set org.gnome.desktop.session idle-delay 0 + gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close" + gsettings set org.gnome.mutter center-new-windows true + echo + echo ${bold}${yellow}UI Preferences before DCONF ${normal}set. + echo --------------------------------------------- + +# Disabling Geoclue + echo --------------------------------------------- + echo Installing ${bold}${yellow}Geoclue service disabling / masking${normal} + echo + sudo systemctl disable geoclue.service + sudo systemctl mask geoclue.service + echo + echo ${bold}${yellow}Geoclue service disabling / masking ${normal}finished. + echo --------------------------------------------- + +# Enable x86 + echo --------------------------------------------- + echo Enabling ${bold}${yellow}x86 architecture${normal} + echo + sudo dpkg --add-architecture i386 + echo + echo ${bold}${yellow}x86 architecture ${normal}enabled. + echo --------------------------------------------- + +# Dependencies + echo --------------------------------------------- + echo Installing ${bold}${yellow}Dependencies${normal} + echo + sudo nala install python3-pydbus gettext lm-sensors libgtksourceview-4-dev python3-psutil libgconf-2-4 libappindicator1 libc++1 gconf2 libsystemd-dev pkg-config ninja-build git libdbus-1-dev libinih-dev build-essential python3-dev libgirepository1.0-dev appstream-util python3 python3-pip gir1.2-appindicator3-0.1 gnome-shell-extension-appindicator libdazzle-1.0-dev debhelper debugedit dh-autoreconf dh-strip-nondeterminism dwz fp-compiler fp-compiler-3.2.2 fp-docs-3.2.2 fp-ide-3.2.2 fp-units-base-3.2.2 fp-units-db-3.2.2 fp-units-fcl-3.2.2 fp-units-fv-3.2.2 fp-units-gfx-3.2.2 fp-units-gtk2-3.2.2 fp-units-math-3.2.2 fp-units-misc-3.2.2 fp-units-multimedia-3.2.2 fp-units-net-3.2.2 fp-units-rtl-3.2.2 fp-utils-3.2.2 fpc fpc-3.2.2 fpc-source-3.2.2 gdb gir1.2-gtk-2.0 intltool-debian lcl-2.2 lcl-gtk2-2.2 lcl-nogui-2.2 lcl-units-2.2 lcl-utils-2.2 liba52-0.7.4 liba52-0.7.4-dev libarchive-cpio-perl libarchive-zip-perl libasound2-dev libbabeltrace1 libc6-dbg libcaca-dev libdebhelper-perl libdebuginfod-common libdebuginfod1 libfile-stripnondeterminism-perl libflac-dev libfluidsynth3 libforms-dev libforms2 libgd-dev libgl1-mesa-dev libglu1-mesa-dev libgmp-dev libgmpxx4ldbl libgraphviz-dev libgtk2.0-dev libgvc6-plugins-gtk libinstpatch-1.0-2 libipt2 libltdl-dev libmad0 libmad0-dev libmail-sendmail-perl libmikmod-dev libmodplug-dev libmodplug1 libogg-dev libproxy-tools libpulse-dev libsdl-mixer1.2 libsdl-mixer1.2-dev libsdl1.2-dev libslang2-dev libsource-highlight-common libsource-highlight4v5 libsub-override-perl libsys-hostname-long-perl libtool libvlc-bin libvlc-dev libvlc5 libvlccore9 libvorbis-dev libvpx-dev libxdot4 libxpm-dev libxt-dev libxxf86dga-dev libxxf86vm-dev m4 po-debconf gcc-multilib g++-multilib mesa-common-dev libxnvctrl-dev python3-evdev python3-decorator python3-pyte libpython3-dev python3-setuptools python3-pydantic meson v4l-utils libspeexdsp1 ffmpeg -y + + # v4l2loopback-dkms v4l2loopback-utils libqt5sql5 libqt5svg5 libqt5xml5 + + echo + echo ${bold}${yellow}Dependencies ${normal}installed. + echo --------------------------------------------- + + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}XanMod - Gaming Kernel AMD - DEB Pkg${normal} + + wget -qO - https://dl.xanmod.org/archive.key | sudo gpg --dearmor -o /usr/share/keyrings/xanmod-archive-keyring.gpg + echo 'deb [signed-by=/usr/share/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-release.list + sudo apt update && sudo apt install linux-xanmod-edge-x64v4 -y + + echo ${bold}${yellow}XanMod - Gaming Kernel AMD ${normal}installed. + echo --------------------------------------------- + echo + +# Flatseal - Flatpak app jogosultság beállító +echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Flatseal - flatpak${normal} + + flatpak install flathub com.github.tchx84.Flatseal --user -y + sudo cp -a overrides /home/$USER/.local/share/flatpak + + echo ${bold}${yellow}Flatseal ${normal}installed. + echo --------------------------------------------- + echo + +# All Updates + echo --------------------------------------------- + echo ${bold}${yellow}Upgrading the System${normal} + echo + sudo nala upgrade -y + echo + echo ${bold}${yellow}System upgraded!${normal} + echo --------------------------------------------- + +fwupdmgr update -y + +# User beállítások + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}User settings${normal} + + sudo rsync -ap --info=progress2 raveos-bg.png /usr/share/backgrounds/ + sudo rsync -ap --info=progress2 gnome-shell /home/$USER/.local/share/ + sudo rsync -ap --info=progress2 burn-my-windows /home/$USER/.config/ + sudo apt install git -y + git clone --depth=1 https://github.com/realmazharhussain/gdm-tools.git + sudo rsync -ap --info=progress2 install.sh gdm-settings/ + cd gdm-tools + ./install.sh + cd - + set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png + dconf load / < raveui-* + sudo apt update + sudo apt upgrade -y + sudo rm -rf gdm-tools + # Debloater Script by DanyHolder + sudo nala purge gnome-calendar* gnome-contacts* gnome-weather* pop-shop* gnome-remote-desktop* gucharmap* com.github.donadigo.eddy* totem* geary* seahorse* popsicle* libreoffice-draw* libreoffice-math* libreoffice-impress* imagemagick* vinagre* gnome-font-viewer gnome-power-manager -y + + echo ${bold}${yellow}User settings ${normal}installed. + echo --------------------------------------------- + + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Gnome Extension Manager - DEB Pkg${normal} + + sudo apt install gnome-shell-extensions -y + + echo ${bold}${yellow}Gnome Extension Manager / All Gnome Extensions ${normal}installed. + echo --------------------------------------------- + + dconf load / < raveui* + +if [[ $user_choice = *"AMD GPU - Angol Nyelv"* ]]; then + +# Wayland Auto-Enable + echo + echo --------------------------------------------- + echo Enabling ${bold}${yellow}Wayland Window Manager${normal} + echo + sudo cp -a rave-pp.png /usr/share/pixmaps/faces/ + sudo sed -i 's/WaylandEnable=false/WaylandEnable=true/' /etc/gdm3/custom.conf + sudo sed -i '5d' /var/lib/AccountsService/users/$USER + sudo sed -i '5 i Icon=/usr/share/pixmaps/faces/rave-pp.png' /var/lib/AccountsService/users/$USER + echo 'Session=pop-wayland' | sudo tee -a /var/lib/AccountsService/users/$USER + sudo cp -a .themes /home/$USER/ + sudo cp -a .icons /home/$USER/ + sudo cp -a .mozilla /home/$USER/ + echo + echo ${bold}${yellow}Wayland Window Manager ${normal}enabled. + echo --------------------------------------------- + echo + +fi + +if [[ $user_choice = *"AMD GPU - Magyar Nyelv"* ]]; then +# Wayland Auto-Enable + echo + echo --------------------------------------------- + echo Enabling ${bold}${yellow}Wayland Window Manager${normal} + echo + sudo cp -a rave-pp.png /usr/share/pixmaps/faces/ + sudo sed -i 's/WaylandEnable=false/WaylandEnable=true/' /etc/gdm3/custom.conf + sudo sed -i '5d' /var/lib/AccountsService/users/$USER + sudo sed -i '5 i Icon=/usr/share/pixmaps/faces/rave-pp.png' /var/lib/AccountsService/users/$USER + echo 'Session=pop-wayland' | sudo tee -a /var/lib/AccountsService/users/$USER + sudo cp -a .themes /home/$USER/ + sudo cp -a .icons /home/$USER/ + sudo cp -a .mozilla /home/$USER/ + echo + echo ${bold}${yellow}Wayland Window Manager ${normal}enabled. + echo --------------------------------------------- + echo + + echo + echo --------------------------------------------- + echo Downloading ${bold}${yellow}Hungarian LangPack${normal} + echo + sudo apt install language-pack-gnome-hu language-pack-gnome-hu-base language-pack-hu language-pack-hu-base -y + echo + echo ${bold}${yellow}Hungarian LangPack ${normal}downloaded. + echo --------------------------------------------- + +fi + +if [[ $user_choice = *"Nvidia GPU - Angol Nyelv"* ]]; then + echo --------------------------------------------- + echo Installing ${bold}${yellow}Nvidia Driver Version 535${normal} + sudo cp -a nvidia-pin1002 /etc/apt/preferences.d + sudo add-apt-repository ppa:graphics-drivers/ppa -y + sudo apt update + sudo apt install nvidia-driver-535 -y + sudo apt-mark hold nvidia-driver-535 + sudo cp -a rave-pp.png /usr/share/pixmaps/faces/ + sudo sed -i 's/WaylandEnable=false/WaylandEnable=true/' /etc/gdm3/custom.conf + sudo sed -i '5d' /var/lib/AccountsService/users/$USER + sudo sed -i '5 i Icon=/usr/share/pixmaps/faces/rave-pp.png' /var/lib/AccountsService/users/$USER + sudo cp -a .themes /home/$USER/ + sudo cp -a .icons /home/$USER/ + sudo cp -a .mozilla /home/$USER/ + echo Nvidia Driver Version 535 ${bold}${yellow}installed.${normal} + echo --------------------------------------------- +fi + +if [[ $user_choice = *"Nvidia GPU - Magyar Nyelv"* ]]; then + echo --------------------------------------------- + echo Installing ${bold}${yellow}Nvidia Driver Version 535${normal} + sudo cp -a nvidia-pin1002 /etc/apt/preferences.d + sudo add-apt-repository ppa:graphics-drivers/ppa -y + sudo apt update + sudo apt install nvidia-driver-535 -y + sudo apt-mark hold nvidia-driver-535 + sudo cp -a rave-pp.png /usr/share/pixmaps/faces/ + sudo sed -i 's/WaylandEnable=false/WaylandEnable=true/' /etc/gdm3/custom.conf + sudo sed -i '5d' /var/lib/AccountsService/users/$USER + sudo sed -i '5 i Icon=/usr/share/pixmaps/faces/rave-pp.png' /var/lib/AccountsService/users/$USER + sudo cp -a .themes /home/$USER/ + sudo cp -a .icons /home/$USER/ + sudo cp -a .mozilla /home/$USER/ + echo Nvidia Driver Version 535 ${bold}${yellow}installed.${normal} + echo --------------------------------------------- + echo + echo --------------------------------------------- + echo Downloading ${bold}${yellow}Hungarian LangPack${normal} + echo + sudo apt install language-pack-gnome-hu language-pack-gnome-hu-base language-pack-hu language-pack-hu-base -y + echo + echo ${bold}${yellow}Hungarian LangPack ${normal}downloaded. + echo --------------------------------------------- + echo +fi + +# Script end + +echo ${bold}${yellow}The system will restart in 3 seconds...${normal} +echo ${bold}${yellow}3...${normal} +sleep 1 +echo ${bold}${yellow}2...${normal} +sleep 1 +echo ${bold}${yellow}1...${normal} +sleep 1 + +sudo reboot \ No newline at end of file diff --git a/3progs.sh b/3progs.sh new file mode 100644 index 0000000..33546e6 --- /dev/null +++ b/3progs.sh @@ -0,0 +1,832 @@ +#!/bin/bash + +# Text modifiers +bold=$(tput bold) # ${bold} +normal=$(tput sgr0) # ${normal} +yellow=$(tput setaf 3) # ${yellow} + +# APT/Flatpak APP TELEPITO SCRIPT + +# Entering work folder +cd /home/$USER/.progs +sudo mkdir -p /home/$USER/.var/app/ +sudo chown -R $USER:$GROUP /home/$USER + +# Zenity ablak megjelenítése +user_choice=$(zenity --list --checklist --width='1000' --height='1000' \ + --title="APP Telepítő Script base by Airman & RAVE (Magyarosította balage79)" \ + --text="Válassz az alábbi programok közül:" \ + --column="Válassz" --column="Programnév / Leírás" \ + FALSE "GNOME Screenshot - gyorsbillentyűs képernyőkép létrehozás" \ + FALSE "GNOME Clocks - ébresztő, világóra, stopper, időzítő" \ + FALSE "Steam Launcher" \ + FALSE "Heroic Launcher - Epic Games Launcher Linux verziója" \ + FALSE "GameMode" \ + FALSE "Kisak FRESH AMD Driver 24.0.4 Majdnem a legujabb verzio. Stabil!" \ + FALSE "PeaZip - tömörítő program" \ + FALSE "Neofetch - terminálos rendszerinfó megjelenítő" \ + FALSE "Input-Remapper 2.0 - egér/bill. gomb konfiguráló, macro író progi" \ + FALSE "Mumble - hang alapú csevegőalkalmazás" \ + FALSE "Lutris - Game launchereket, és egyéb appokat futtató környezet" \ + FALSE "KVM QEMU - virtualizáció, virtuális gépek futtatása" \ + FALSE "CoreCTRL - AMD GPU beállító alkalmazás" \ + FALSE "Docker - Ha tudod mi ez akkor KELL Neked" \ + FALSE "OBS - Nyílt forrású felvételkészítő és streamelő program" \ + FALSE "Firejail - Bongeszo Zart Kontener" \ + FALSE "Vivaldi - webböngésző" \ + FALSE "Brave - webböngésző" \ + FALSE "Librewolf - Firefox ESR alapú webböngésző" \ + FALSE "FreeTube - Adatlopás-mentes YouTube-kliens" \ + FALSE "OnlyOffice - Legujabb MS Office Linuxos megfeleloje - LIBREOFFICE-t TOROLNI FOGJA!" \ + FALSE "DosBox - Régi, DOS-os játék emulátor" \ + FALSE "Pavucontrol - Apponkénti hangerőszabályzás/konfigurálás" \ + FALSE "KeepassXC - Jelszókezelő, az adatbázist titkosítva tárolja a PC-n" \ + FALSE "Cider - Apple Music Player Linuxra" \ + FALSE "Spotify - Zenelejátszó Linuxra" \ + FALSE "Tidal - Zenelejátszó Linuxra" \ + FALSE "Darktable - Adobe Lightroom Linuxos megfelelője" \ + FALSE "VLC - médialejátszó" \ + FALSE "QBittorrent - torrent kliens" \ + FALSE "Telegram - Titkosított üzenetküldő" \ + FALSE "Signal - Titkosított üzenetküldő" \ + FALSE "Kdenlive - Linuxos videószerkesztő program" \ + FALSE "PhotoGIMP - Adobe Photoshop-szerű képszerkesztő Linuxra" \ + FALSE "Discord - VoIP-, és csevegőalkalmazás" \ + FALSE "Easy Effects - Hangkártyát vezérlő program (Hangeffektek)" \ + FALSE "Parabolic - Videóletöltő, működik minden platformon" \ + FALSE "Vibrant - Szín szaturáció beállító program" \ + FALSE "Legutobbi Baloldali Menupont Torlese a File Kezelobol (Nautilus)" \ + FALSE "Csak a FO Monitoron jelenjen meg a Login Screen - Tobb monitoros setupoknal" \ + FALSE "MangoHud/Goverlay - MSI Afterburner Linuxos megfelelője, FPS kijelzés, stb." \ + FALSE "Zenpower3 - AMD CPU Feszultseg, Aramerosseg es Fogyasztas Monitorozas" \ + FALSE "GTKStressTesting - CPU Monitorozas es Stress Test Program" \ + FALSE "Double Commander - Total Commander Linuxos megfelelője" \ + FALSE "Midnight Commander - 2 ablakos file kezelő" \ + FALSE "HD Sentinel - Merevlemez állapot ellenőrző program" \ + FALSE "XFBurn - DVD / CD író program" \ + FALSE "GUFW - Tűzfal" \ + FALSE "Audacity - Hangszerekesztő program" \ + FALSE "Windows 11 Telepítő - Csak Profiknak!") +if [[ $? -eq 1 ]]; then + echo ${bold}${yellow}Cancelled by User. Exiting!${normal} + exit 1 +fi + +if [[ $user_choice = *"GNOME Screenshot - gyorsbillentyűs képernyőkép létrehozás"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}GNOME Screenshot - DEB Pkg${normal} + + sudo nala install gnome-screenshot -y + + echo ${bold}${yellow}GNOME Screenshot ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"GNOME Clocks - ébresztő, világóra, stopper, időzítő"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}GNOME Clocks - DEB Pkg${normal} + + sudo nala install gnome-clocks -y + sudo rsync -ap --info=progress2 /usr/share/sounds/Yaru/stereo/complete.oga /usr/share/sounds/freedesktop/stereo/ + sudo rsync -ap --info=progress2 alarm-clock*.oga /usr/share/sounds/freedesktop/stereo + + echo ${bold}${yellow}GNOME Clocks with sound changes ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Steam Launcher"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Steam Launcher - DEB Pkg${normal} + + sudo nala install steam -y + sudo mkdir -p /home/$USER/.steam/steam + sudo mkdir -p /home/$USER/.steam/root/compatibilitytools.d + sudo chown -R $USER:$GROUP /home/$USER/.steam + sudo rsync -ap --info=progress2 steam_dev.cfg /home/$USER/.steam/steam + sudo chmod +x update-proton-ge + ./update-proton-ge + sudo cp -a update-proton-ge /usr/share/ + + echo ${bold}${yellow}Steam + Latest ProtonGE ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Heroic Launcher - Epic Games Launcher Linux verziója"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Heroic Launcher - flatpak with MangoHud${normal} + + flatpak install flathub com.heroicgameslauncher.hgl --user -y + flatpak install runtime/org.freedesktop.Platform.VulkanLayer.MangoHud/x86_64/22.08 --user -y + flatpak override --user --filesystem=xdg-config/MangoHud:ro + + echo ${bold}${yellow}Heroic Launcher with MangoHud ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"GameMode"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}GameMode - DEB Pkg${normal} + + sudo nala install gamemode -y + + echo ${bold}${yellow}GameMode ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Kisak FRESH AMD Driver 24.0.4 Majdnem a legujabb verzio. Stabil!"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Kisak FRESH AMD Driver 24.0.4 - DEB Pkg${normal} + + sudo add-apt-repository ppa:kisak/kisak-mesa -y + sudo rsync -ap --info=progress2 kisak-pin1003 /etc/apt/preferences.d/ + sudo apt update + sudo apt upgrade -y + + echo ${bold}${yellow}Kisak FRESH AMD Driver 24.0.4 ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"PeaZip - tömörítő program"* ]]; then + echo + echo Installing ${bold}${yellow}PeaZip - flatpak${normal} + + flatpak install flathub io.github.peazip.PeaZip --user -y + + echo ${bold}${yellow}PeaZip ${normal}installed. + echo +fi + +if [[ $user_choice = *"Neofetch - terminálos rendszerinfó megjelenítő"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Neofetch - DEB Pkg${normal} + + sudo nala install neofetch -y + + echo ${bold}${yellow}Neofetch ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Input-Remapper 2.0 - egér/bill. gomb konfiguráló, macro író progi"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Input-Remapper 2.0 - DEB Pkg${normal} + + sudo nala install build-essential libpython3-dev libdbus-1-dev python3-evdev python3-pydbus libgtksourceview-4-dev python3-pydantic libavahi-compat-libdnssd1 gettext -y + sudo dpkg -i input-remapper*.deb + + echo ${bold}${yellow}Input-Remapper 2.0 ${normal}installed. + echo --------------------------------------------- + echo +fi + + +if [[ $user_choice = *"Mumble - hang alapú csevegőalkalmazás"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Mumble - DEB Pkg${normal} + + sudo nala install libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5sql5 libqt5svg5 libqt5widgets5 libqt5xml5 libspeexdsp1 -y + sudo nala install mumble -y + + echo ${bold}${yellow}Mumble ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Lutris - Game launchereket, és egyéb appokat futtató környezet"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Lutris - flatpak with MangoHud - flatpak${normal} + + flatpak install flathub net.lutris.Lutris --user -y + flatpak install runtime/org.freedesktop.Platform.VulkanLayer.MangoHud/x86_64/23.08 --user -y + flatpak override --user --filesystem=xdg-config/MangoHud:ro + + echo ${bold}${yellow}Lutris with MangoHud compatibility ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"KVM QEMU - virtualizáció, virtuális gépek futtatása"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}KVM QEMU - DEB Pkg${normal} + + sudo nala install libvirt0 libvirt-daemon libvirt-daemon-system-systemd libvirt-daemon-config-network libvirt-daemon-config-nwfilter libvirt-daemon-system-systemd libfdt1 libibverbs1 libpmem1 librdmacm1 libslirp0 qemu-system-common qemu-system-data seabios ipxe-qemu ipxe-qemu-256k-compat-efi-roms gir1.2-gtk-vnc-2.0 gir1.2-libosinfo-1.0 gir1.2-libvirt-glib-1.0 python3-libvirt virtinst -y + sudo nala install qemu-system-x86 qemu-utils libvirt-daemon-system libvirt-clients bridge-utils virt-manager ovmf -y + sudo usermod -aG kvm $USER + sudo usermod -aG input $USER + sudo usermod -aG libvirt $USER + # qemu.conf sed parancs $USER-el hogy ne kelljen kezzel csinalni + + echo ${bold}${yellow}KVM QEMU ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"CoreCTRL - AMD GPU beállító alkalmazás"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}CoreCTRL and User Settings - DEB Pkg${normal} + + sudo add-apt-repository ppa:ernstp/mesarc -y + sudo nala install libbotan-2-19 libqt5charts5 libqt5qml5 libqt5quick5 libquazip5-1 qml-module-qtquick2 qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtquick-window2 qml-module-qt-labs-platform qml-module-qtcharts vulkan-tools -y + sudo apt update + sudo nala install corectrl -y + sudo kernelstub -o "amdgpu.ppfeaturemask=0xffffffff" + cp /usr/share/applications/org.corectrl.CoreCtrl.desktop ~/.config/autostart/org.corectrl.CoreCtrl.desktop + echo "Identity=unix-group:$USER" >> 90-corectrl.pkla + sudo rsync -ap --info=progress2 90-corectrl.pkla /etc/polkit-1/localauthority/50-local.d/ + sudo mkdir -p ~/.config/corectrl + sudo chown -R $USER:$GROUP ~/.config + sudo rsync -ap --info=progress2 corectrl.ini ~/.config/corectrl + + echo ${bold}${yellow}CoreCTRL and User settings ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Docker - Ha tudod mi ez akkor KELL Neked"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Docker - DEB Pkg${normal} + + sudo nala install ca-certificates curl gnupg -y + sudo install -m 0755 -d /etc/apt/keyrings + curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg + sudo chmod a+r /etc/apt/keyrings/docker.gpg + echo \ + "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ + "$(. /etc/os-release && echo "jammy")" stable" | \ + sudo tee /etc/apt/sources.list.d/docker.list > /dev/null + sudo apt update + sudo nala install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y + + echo ${bold}${yellow}Docker ${normal}installed. + echo --------------------------------------------- + echo +fi + + +if [[ $user_choice = *"OBS - Nyílt forrású felvételkészítő és streamelő program"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}OBS Studio - flatpak${normal} + + flatpak install com.obsproject.Studio --user -y + + echo ${bold}${yellow}OBS Studio ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Firejail - Bongeszo Zart Kontener"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}FireJail${normal} + + sudo nala install firejail -y + + echo ${bold}${yellow}FireJail ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Vivaldi - webböngésző"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Vivaldi - DEB Pkg${normal} + + wget -qO- https://repo.vivaldi.com/archive/linux_signing_key.pub | sudo gpg --dearmor -o /usr/share/keyrings/vivaldi-archive-keyring.gpg + echo "deb [signed-by=/usr/share/keyrings/vivaldi-archive-keyring.gpg] https://repo.vivaldi.com/archive/deb/ stable main" | sudo tee /etc/apt/sources.list.d/vivaldi.list + sudo apt update + sudo nala install vivaldi-stable -y + sleep 2 + sudo cp -a vivaldi /home/$USER/.config/ + + echo ${bold}${yellow}Vivaldi ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Brave - webböngésző"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Brave - flatpak${normal} + + flatpak install flathub com.brave.Browser --user -y + sudo cp -a /home/$USER/.progs/com.brave.Browser /home/$USER/.var/app/ + + echo ${bold}${yellow}Brave ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Librewolf - Firefox ESR alapú webböngésző"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Librewolf - DEB Pkg${normal} + + sudo apt update && sudo apt install -y wget gnupg lsb-release apt-transport-https ca-certificates + + distro=$(if echo " una bookworm vanessa focal jammy bullseye vera uma " | grep -q " $(lsb_release -sc) "; then lsb_release -sc; else echo focal; fi) + + wget -O- https://deb.librewolf.net/keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/librewolf.gpg + sudo tee /etc/apt/sources.list.d/librewolf.sources << EOF > /dev/null +Types: deb +URIs: https://deb.librewolf.net +Suites: $distro +Components: main +Architectures: amd64 +Signed-By: /usr/share/keyrings/librewolf.gpg +EOF + sudo apt update + sudo nala install librewolf -y + sudo cp -a .librewolf /home/$USER/ + + echo ${bold}${yellow}LibreWolf ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"FreeTube - Adatlopás-mentes YouTube-kliens"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}FreeTube - flatpak${normal} + + flatpak install flathub io.freetubeapp.FreeTube --user -y + sudo mkdir -p ~/.var/app/io.freetubeapp.FreeTube/config + sudo chown -R $USER:$GROUP ~/.var + sudo rsync -ap --info=progress2 FreeTube ~/.var/app/io.freetubeapp.FreeTube/config + + + echo ${bold}${yellow}FreeTube ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"OnlyOffice - Legujabb MS Office Linuxos megfeleloje - LIBREOFFICE-t TOROLNI FOGJA!"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}OnlyOffice - flatpak${normal} + + flatpak install flathub org.onlyoffice.desktopeditors --user -y + sudo nala purge libreoffice* -y + + echo ${bold}${yellow}OnlyOffice ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"DosBox - Régi, DOS-os játék emulátor"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}DosBox Staging - flatpak${normal} + + sudo nala install libsdl-sound1.2 -y + flatpak install flathub io.github.dosbox-staging --user -y + + echo ${bold}${yellow}DosBox - Staging ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Pavucontrol - Apponkénti hangerőszabályzás/konfigurálás"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Pavucontrol - DEB Pkg${normal} + + sudo nala install pavucontrol -y + + echo ${bold}${yellow}Pavucontrol ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"KeepassXC - Jelszókezelő, az adatbázist titkosítva tárolja a PC-n"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}KeepassXC - flatpak${normal} + + flatpak install flathub org.keepassxc.KeePassXC --user -y + + echo ${bold}${yellow}KeePassXC ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Cider - Apple Music Player Linuxra"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Cider - flatpak${normal} + + flatpak install flathub sh.cider.Cider --user -y + + echo ${bold}${yellow}Cider ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Spotify - Zenelejátszó Linuxra"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Spotify - flatpak${normal} + + flatpak install flathub com.spotify.Client --user -y + + echo ${bold}${yellow}Spotify ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Tidal - Zenelejátszó Linuxra"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Tidal - flatpak${normal} + + flatpak install flathub com.mastermindzh.tidal-hifi --user -y + + echo ${bold}${yellow}Tidal ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Darktable - Adobe Lightroom Linuxos megfelelője"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Darktable - flatpak${normal} + + flatpak install flathub org.darktable.Darktable --user -y + + echo ${bold}${yellow}Darktable ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"VLC - médialejátszó"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}VLC Media Player - flatpak${normal} + + flatpak install flathub org.videolan.VLC --user -y + + echo ${bold}${yellow}VLC Media Player ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"QBittorrent - torrent kliens"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}QBittorrent - flatpak${normal} + + flatpak install flathub org.qbittorrent.qBittorrent --user -y + + echo ${bold}${yellow}QBittorrent ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Telegram - Titkosított üzenetküldő"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Telegram - flatpak${normal} + + flatpak install flathub org.telegram.desktop --user -y + + echo ${bold}${yellow}Telegram ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Signal - Titkosított üzenetküldő"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Signal - flatpak${normal} + + flatpak install flathub org.signal.Signal --user -y + + echo ${bold}${yellow}Signal ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Kdenlive - Linuxos videószerkesztő program"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Kdenlive - flatpak${normal} + + flatpak install flathub org.kde.kdenlive --user -y + + echo ${bold}${yellow}Kdenlive ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"PhotoGIMP - Adobe Photoshop-szerű képszerkesztő Linuxra"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}PhotoGIMP- flatpak${normal} + + flatpak install flathub org.gimp.GIMP --user -y + sudo rsync -ap --info=progress2 PhotoGIMP/. ~/ + + echo ${bold}${yellow}GIMP with PhotoGIMP Addon ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Discord - VoIP-, és csevegőalkalmazás"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Discord - flatpak${normal} + + flatpak install flathub com.discordapp.Discord --user -y + flatpak install flathub de.shorsh.discord-screenaudio --user -y + sudo apt install libcanberra-gtk-module:i386 -y + + # Vencord script credit to Lordify + # Add USER repo to flathub, because Linux Mint doesn't have it + #flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo + # Download the latest release of Vencord Installer from Github + wget https://github.com/Vencord/Installer/releases/latest/download/VencordInstallerCli-linux + sleep 1 + # Grant execution permission to vencord installer + sudo chmod +x VencordInstallerCli-linux + sleep 1 + # Create Symlink of /home/$USER directory in /usr/share/Vencord, because the Kurva Vencord script doesn't handle variables like $USER + sudo ln -s ~/ /usr/share/Vencord + sleep 1 + # Install vencord with openasar + ./VencordInstallerCli-linux -install -location /usr/share/Vencord/.local/share/flatpak/app/com.discordapp.Discord + sleep 1 + ./VencordInstallerCli-linux -install-openasar -location /usr/share/Vencord/.local/share/flatpak/app/com.discordapp.Discord/ + sleep 1 + # Remove symlink from /usr/share/Vencord + sudo unlink /usr/share/Vencord + sleep 1 + sudo mkdir -p /home/$USER/.var/app/com.discordapp.Discord/config/Vencord + sudo chown -R $USER:$GROUP /home/$USER/.var/app/com.discordapp.Discord/config/Vencord/ + sudo rsync -ap --info=progress2 themes /home/$USER/.var/app/com.discordapp.Discord/config/Vencord/ + sudo rsync -ap --info=progress2 com.discordapp.Discord.desktop /home/$USER/.local/share/flatpak/exports/share/applications + echo ${bold}${yellow}Discord / Vencord ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Easy Effects - Hangkártyát vezérlő program (Hangeffektek)"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Easy Effects - flatpak${normal} + + flatpak install flathub com.github.wwmm.easyeffects --user -y + + echo ${bold}${yellow}Easy Effects ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Parabolic - Videóletöltő, működik minden platformon"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Parabolic - flatpak${normal} + + flatpak install flathub org.nickvision.tubeconverter --user -y + + echo ${bold}${yellow}Parabolic ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Vibrant - Szín szaturáció beállító program"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Vibrant - flatpak${normal} + + flatpak install flathub io.github.libvibrant.vibrantLinux --user -y + + echo ${bold}${yellow}Vibrant ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Legutobbi Baloldali Menupont Torlese a File Kezelobol (Nautilus)"* ]]; then + echo + echo --------------------------------------------- + echo Removing ${bold}${yellow}Nautilus Recent Menu ${normal} + + gsettings set org.gnome.desktop.privacy remember-recent-files false + + echo ${bold}${yellow}Nautilus Recent Menu ${normal}removed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Csak a FO Monitoron jelenjen meg a Login Screen - Tobb monitoros setupoknal"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Only main monitor on login${normal} + + zenity --warning --text='!! SWITCH TO PRIMARY MONITOR ONLY !!' --width='300' --height='100' + sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config/monitors.xml + sudo chown gdm:gdm /var/lib/gdm3/.config/monitors.xml + + echo ${bold}${yellow}Only main monitor on login ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"MangoHud/Goverlay - MSI Afterburner Linuxos megfelelője, FPS kijelzés, stb."* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}MangoHud/Goverlay - built from source${normal} + sudo nala install meson ninja-build gcc g++ glslang-dev glslang-tools libxnvctrl-dev git libx11-dev mesa-common-dev breeze cmake -y + # dependencies python3-numpy python3-matplotlib lazarus-ide + sudo mkdir -p /usr/share/goverlay + sudo chown $USER:$GROUP /usr/share/goverlay + sudo cp -a goverlay goverlay.ico /usr/share/goverlay + sudo cp -a goverlay.desktop /home/$USER/.local/share/applications + sudo dpkg -i libqt6pas6_*.deb + sudo dpkg -i libqt6pas6-*.deb + sudo apt install -f -y + sudo dpkg -i libqt6pas6_*.deb + sudo dpkg -i libqt6pas6-*.deb + sudo mkdir -p /home/$USER/.mangohud + sudo chown -R $USER:$GROUP /home/$USER/.mangohud + cd /home/$USER/.mangohud + git clone --recurse-submodules https://github.com/flightlessmango/MangoHud.git + cd MangoHud + meson build + sudo ninja -C build install + cd - + sudo rm -rf /home/$USER/.mangohud + # sudo sed -i 's/Exec=goverlay/Exec=goverlay --style breeze/' /usr/local/share/applications/io.github.benjamimgois.goverlay.desktop + echo ${bold}${yellow}MangoHud/Goverlay - built from source ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Zenpower3 - AMD CPU Feszultseg, Aramerosseg es Fogyasztas Monitorozas"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Zenpower3 - built from source${normal} + + sudo mkdir -p /home/$USER/.mangohud + sudo chown -R $USER:$GROUP /home/$USER/.mangohud + cd /home/$USER/.mangohud + git clone https://github.com/PutinVladimir/zenpower3.git + cd zenpower3 + sudo make dkms-install + sudo modprobe -r k10temp + sudo bash -c 'sudo echo -e "\n# replaced with zenpower\nblacklist k10temp" >> /etc/modprobe.d/blacklist.conf' + sudo modprobe zenpower + cd - + sudo rm -rf /home/$USER/.mangohud + echo ${bold}${yellow}Zenpower3 ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"GTKStressTesting - CPU Monitorozas es Stress Test Program"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}GTKStressTesting - Flatpak${normal} + + flatpak install flathub com.leinardi.gst --user -y + + echo ${bold}${yellow}GTKStressTesting ${normal}installed. + echo --------------------------------------------- + echo +fi + + +if [[ $user_choice = *"Double Commander - Total Commander Linuxos megfelelője"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Double Commander - DEB Pkg${normal} + + sudo nala install doublecmd-gtk -y + + echo ${bold}${yellow}Double Commander ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Midnight Commander - 2 ablakos file kezelő"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Midnight Commander - DEB Pkg${normal} + + sudo nala install mc -y + + echo ${bold}${yellow}Midnight Commander ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"HD Sentinel - Merevlemez állapot ellenőrző program"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}GUFW - DEB Pkg${normal} + + cd /home/$USER/.progs/HDSentinel_GUI + sudo chmod +x install.sh + ./install.sh + + echo ${bold}${yellow}GUFW ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"XFBurn - DVD / CD író program"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}XFBurn - DEB Pkg${normal} + + sudo nala install xfburn -y + + echo ${bold}${yellow}XFBurn ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"GUFW - Tűzfal"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}GUFW - DEB Pkg${normal} + + sudo nala install gufw* -y + + echo ${bold}${yellow}GUFW ${normal}installed. + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Audacity - Hangszerekesztő program"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Audacity - flatpak${normal} + + flatpak install flathub org.audacityteam.Audacity --user -y + sudo mkdir -p ~/.var/app/io.freetubeapp.FreeTube/config + sudo chown -R $USER:$GROUP ~/.var + sudo rsync -ap --info=progress2 audacity ~/.var/app/org.audacityteam.Audacity/config + + echo ${bold}${yellow}Audacity ${normal}installed. + echo --------------------------------------------- + echo +fi + + +if [[ $user_choice = *"Windows 11 Telepítő - Csak Profiknak"* ]]; then + zenity --warning --text='!! MAJOM VAGY !!' --width='300' --height='100' +fi + +sudo rm /home/$USER/.config/autostart/3progs.sh.desktop + +sleep 1 + +sudo chown -R $USER:$GROUP /home/$USER + +zenity --question --title='Restart required!' --text='Restart in 5 seconds?' --width='300' --height='100' +if [ $? = 0 ]; then + +( +echo "0" ; +echo "# Restart in 5s" ; sleep 1 +echo "20" ; +echo "# Restart in 4s" ; sleep 1 +echo "40" ; +echo "# Restart in 3s" ; sleep 1 +echo "60" ; +echo "# Restart in 2s" ; sleep 1 +echo "80" ; +echo "# Restart in 1s" ; sleep 1 + +) | +zenity --progress \ + --title="All updates are Installed!" --width='300' \ + --text="Restart" \ + --auto-close \ + --no-cancel + sudo rm -rf /usr/share/raveprogs + sudo rm /home/$USER/.config/autostart/raveprogs.desktop + sudo reboot; + else + echo ${bold}${yellow}User exited the script. Ending!${normal} + exit 0; +fi \ No newline at end of file diff --git a/backup-restore.sh b/backup-restore.sh new file mode 100644 index 0000000..f30d0e0 --- /dev/null +++ b/backup-restore.sh @@ -0,0 +1,240 @@ +#!/usr/bin/env bash + +bold=$(tput bold) # ${bold} +normal=$(tput sgr0) # ${normal} +yellow=$(tput setaf 3) # ${yellow} + +zenity --info --title='Please pick a folder!' --text='Choose a folder! / Válassz egy mappát!' --width='350' --height='100' + +# Folder variable +FOLDER=$(zenity --file-selection --title="Choose a backup directory" --directory) +if [[ $? -eq 1 ]]; then + echo You did not pick a ${bold}${yellow}folder.${normal} Exiting! + exit 1 + else + echo Backups will be saved into ${bold}${yellow}$FOLDER${normal} +fi + +# Zenity ablak megjelenítése +user_choice=$(zenity --list --radiolist --width='650' --height='370' \ + --title="Pick your language! / Válaszd ki a nyelvet!" \ + --text="Válassz az alábbi opciók közül:" \ + --column="Válassz" --column="Rendszer nyelv" \ + FALSE "Backup - English Language" \ + FALSE "Backup - Magyar Nyelv" \ + FALSE "Restore Script / Helyreállítás") +if [[ $? -eq 1 ]]; then + echo ${bold}${yellow}A script futása leállítva. Kilépés!${normal} + exit 1 +fi + + if [[ $user_choice = *"Backup - English Language"* ]]; then + + echo + echo --------------------------------------------- + echo ${bold}${yellow}Started English Backup script${normal} + echo + echo RaveConsole -- Superuser permission required + echo + echo RaveConsole -- Backup script started! + echo + + echo RaveConsole -- Copying folder: Desktop + sudo rsync -ap --info=progress2 /home/$USER/Desktop $FOLDER + echo RaveConsole -- Desktop copied + echo + + echo RaveConsole -- Copying folder: Documents + sudo rsync -ap --info=progress2 /home/$USER/Documents $FOLDER + echo RaveConsole -- Documents copied + echo + + echo RaveConsole -- Copying folder: Downloads + sudo rsync -ap --info=progress2 /home/$USER/Downloads $FOLDER + echo RaveConsole -- Downloads copied + echo + + echo RAVECONSOLE -- Copying folder: Games + sudo rsync -ap --info=progress2 /home/$USER/Games $FOLDER + echo RAVECONSOLE -- Games copied + echo + + echo RaveConsole -- Copying folder: Music + sudo rsync -ap --info=progress2 /home/$USER/Music $FOLDER + echo RaveConsole -- Music copied + echo + + echo RaveConsole -- Copying folder: Pictures + sudo rsync -ap --info=progress2 /home/$USER/Pictures $FOLDER + echo RaveConsole -- Pictures copied + echo + + echo RaveConsole -- Copying folder: Videos + sudo rsync -ap --info=progress2 /home/$USER/Videos $FOLDER + echo RaveConsole -- Videos copied + echo + + echo RaveConsole -- Copying folder: Templates + sudo rsync -ap --info=progress2 /home/$USER/Videos $FOLDER + echo RaveConsole -- Templates copied + echo + + echo RaveConsole -- Copying folder: .config + sudo rsync -ap --info=progress2 /home/$USER/.config/ $FOLDER/.config + echo RaveConsole -- .config copied + echo + + echo RaveConsole -- Copying folder: .mozilla + sudo rsync -ap --info=progress2 /home/$USER/.mozilla $FOLDER + echo RaveConsole -- .mozilla copied + echo + + echo RaveConsole -- Copying folder: .icons + sudo rsync -ap --info=progress2 /home/$USER/.icons $FOLDER + echo RaveConsole -- .icons copied + echo + + echo RaveConsole -- Copying folder: .themes + sudo rsync -ap --info=progress2 /home/$USER/.themes $FOLDER + echo RaveConsole -- .themes copied + echo + + echo RaveConsole -- Copying folder: .var + sudo rsync -ap --info=progress2 /home/$USER/.var $FOLDER + echo RaveConsole -- .var copied + echo + + echo RaveConsole -- Copying folder: gnome-shell + sudo mkdir -p $FOLDER/.local/share/ + sudo rsync -ap --info=progress2 /home/$USER/.local/share/gnome-shell $FOLDER/.local/share/ + echo RaveConsole -- gnome-shell copied + echo + + echo RaveConsole -- Copying folder: .local/share/flatpak/overrides + sudo mkdir -p $FOLDER/.local/share/flatpak + sudo rsync -ap --info=progress2 /home/$USER/.local/share/flatpak/overrides $FOLDER/.local/share/flatpak + echo RaveConsole -- .local/share/flatpak/overrides copied + echo + + echo RaveConsole -- Changing Owner of SAVES Folder + sudo chown -R $USER:$USER $FOLDER + echo RaveConsole -- Owner of SAVES Folder been changed to $USER + echo + +# Keyboard shortcuts backup + echo RaveConsole -- Saving Custom UI settings + dconf dump / > $FOLDER/$USER-ui + dconf dump /org/gnome/settings-daemon/plugins/media-keys/ > $FOLDER/$USER-shortcuts + echo RaveConsole -- All Custom UI settings have been saved + echo + echo ${bold}${yellow}English Backup script finished.${normal} + echo --------------------------------------------- + echo +fi + + if [[ $user_choice = *"Backup - Magyar Nyelv"* ]]; then + + # Wayland Auto-Enable + echo + echo --------------------------------------------- + echo ${bold}${yellow}Magyar backup script indítva.${normal} + echo + echo + echo RaveConsole -- Mappa másolása: Asztal + sudo rsync -ap --info=progress2 /home/$USER/Asztal $FOLDER + echo RaveConsole -- Asztal másolva + echo + + echo RaveConsole -- Mappa másolása: Dokumentumok + sudo rsync -ap --info=progress2 /home/$USER/Dokumentumok $FOLDER + echo RaveConsole -- Dokumentumok másolva + echo + + echo RaveConsole -- Mappa másolása: Letöltések + sudo rsync -ap --info=progress2 /home/$USER/Letöltések $FOLDER + echo RaveConsole -- Letöltések másolva + echo + + echo RAVECONSOLE -- Mappa másolása: Games + sudo rsync -ap --info=progress2 /home/$USER/Games $FOLDER + echo RAVECONSOLE -- Games másolva + echo + + echo RaveConsole -- Mappa másolása: Zenék + sudo rsync -ap --info=progress2 /home/$USER/Zenék $FOLDER + echo RaveConsole -- Zenék másolva + echo + + echo RaveConsole -- Mappa másolása: Képek + sudo rsync -ap --info=progress2 /home/$USER/Képek $FOLDER + echo RaveConsole -- Képek másolva + echo + + echo RaveConsole -- Mappa másolása: Videók + sudo rsync -ap --info=progress2 /home/$USER/Videók $FOLDER + echo RaveConsole -- Videók másolva + echo + + echo RaveConsole -- Mappa másolása: Sablonok + sudo rsync -ap --info=progress2 /home/$USER/Videók $FOLDER + echo RaveConsole -- Sablonok másolva + echo + + echo RaveConsole -- Mappa másolása: .config + sudo rsync -ap --info=progress2 /home/$USER/.config/ $FOLDER/.config + echo RaveConsole -- .config másolva + echo + + echo RaveConsole -- Mappa másolása: .mozilla + sudo rsync -ap --info=progress2 /home/$USER/.mozilla $FOLDER + echo RaveConsole -- .mozilla másolva + echo + + echo RaveConsole -- Mappa másolása: .icons + sudo rsync -ap --info=progress2 /home/$USER/.icons $FOLDER + echo RaveConsole -- .icons másolva + echo + + echo RaveConsole -- Mappa másolása: .themes + sudo rsync -ap --info=progress2 /home/$USER/.themes $FOLDER + echo RaveConsole -- .themes másolva + echo + + echo RaveConsole -- Mappa másolása: .var + sudo rsync -ap --info=progress2 /home/$USER/.var $FOLDER + echo RaveConsole -- .var másolva + echo + + echo RaveConsole -- Mappa másolása: gnome-shell + sudo mkdir -p $FOLDER/.local/share/ + sudo rsync -ap --info=progress2 /home/$USER/.local/share/gnome-shell $FOLDER/.local/share/ + echo RaveConsole -- gnome-shell másolva + echo + + echo RaveConsole -- Mappa másolása: .local/share/flatpak/overrides + sudo mkdir -p $FOLDER/.local/share/flatpak + sudo rsync -ap --info=progress2 /home/$USER/.local/share/flatpak/overrides $FOLDER/.local/share/flatpak + echo RaveConsole -- .local/share/flatpak/overrides másolva + echo + + echo RaveConsole -- Changing Owner of SAVES Folder + sudo chown -R $USER:$USER $FOLDER + echo RaveConsole -- Owner of SAVES Folder been changed to $USER + echo + +# Keyboard shortcuts backup + echo RaveConsole -- Saving Custom UI settings + dconf dump / > $FOLDER/$USER-ui + dconf dump /org/gnome/settings-daemon/plugins/media-keys/ > $FOLDER/$USER-shortcuts + echo RaveConsole -- All Custom UI settings have been saved + echo + echo ${bold}${yellow}Magyar backup script befejezve.${normal} + echo --------------------------------------------- + echo +fi + +if [[ $user_choice = *"Restore Script / Helyreállítás"* ]]; then + + sudo rsync -ap --info=progress2 $FOLDER/ /home/$USER/test + +fi \ No newline at end of file diff --git a/pop-wallpapers.xml b/pop-wallpapers.xml new file mode 100644 index 0000000..23a9997 --- /dev/null +++ b/pop-wallpapers.xml @@ -0,0 +1,348 @@ + + + + + ahmadreza-sajadi-10140-edit + /usr/share/backgrounds/pop/RP_Wallpaper1.png + zoom + #000000 + #000000 + solid + + + benjamin-voros-250200 + /usr/share/backgrounds/pop/RP_Wallpaper2.png + zoom + #000000 + #000000 + solid + + + ferdinand-stohr-149422 + /usr/share/backgrounds/pop/RP_Wallpaper3.png + zoom + #000000 + #000000 + solid + + + galen-crout-175291 + /usr/share/backgrounds/pop/RP_Wallpaper4.png + zoom + #000000 + #000000 + solid + + + jad-limcaco-183877 + /usr/share/backgrounds/pop/RP_Wallpaper5.png + zoom + #000000 + #000000 + solid + + + jake-hills-36605 + /usr/share/backgrounds/pop/RP_Wallpaper6.png + zoom + #000000 + #000000 + solid + + + jared-evans-119758 + /usr/share/backgrounds/pop/RP_Wallpaper7.png + zoom + #000000 + #000000 + solid + + + jasper-van-der-meij-97274-edit + /usr/share/backgrounds/pop/RP_Wallpaper8.png + zoom + #000000 + #000000 + solid + + + kait-herzog-8242 + /usr/share/backgrounds/pop/RP_Wallpaper9.png + zoom + #000000 + #000000 + solid + + + kate-hazen-COSMIC-desktop-wallpaper + /usr/share/backgrounds/pop/RP_Wallpaper10.png + zoom + #000000 + #000000 + solid + + + kate-hazen-fractal-mountains + /usr/share/backgrounds/pop/RP_Wallpaper11.png + zoom + #000000 + #000000 + solid + + + kate-hazen-mort1mer + /usr/share/backgrounds/pop/RP_Wallpaper12.png + zoom + #000000 + #000000 + solid + + + kate-hazen-pop-m3lvin + /usr/share/backgrounds/pop/RP_Wallpaper13.png + zoom + #000000 + #000000 + solid + + + kate-hazen-pop-retro1 + /usr/share/backgrounds/pop/RP_Wallpaper14.png + zoom + #000000 + #000000 + solid + + + kate-hazen-pop-retro2 + /usr/share/backgrounds/pop/RP_Wallpaper15.png + zoom + #000000 + #000000 + solid + + + kate-hazen-pop-space + /usr/share/backgrounds/pop/RP_Wallpaper16.png + zoom + #000000 + #000000 + solid + + + kate-hazen-unleash-your-robot-blue + /usr/share/backgrounds/pop/RP_Wallpaper17.png + zoom + #000000 + #000000 + solid + + + kate-hazen-unleash-your-robot + /usr/share/backgrounds/pop/RP_Wallpaper18.png + zoom + #000000 + #000000 + solid + + + nasa-45068 + /usr/share/backgrounds/pop/RP_Wallpaper19.png + zoom + #000000 + #000000 + solid + + + nasa-53884 + /usr/share/backgrounds/pop/RP_Wallpaper20.png + zoom + #000000 + #000000 + solid + + + nasa-89125 + /usr/share/backgrounds/pop/RP_Wallpaper21.png + zoom + #000000 + #000000 + solid + + + nasa-89127 + /usr/share/backgrounds/pop/RP_Wallpaper22.png + zoom + #000000 + #000000 + solid + + + ng-32703 + /usr/share/backgrounds/pop/RP_Wallpaper23.png + zoom + #000000 + #000000 + solid + + + nick-nazzaro-bedroom + /usr/share/backgrounds/pop/RP_Wallpaper24.png + zoom + #000000 + #000000 + solid + + + nick-nazzaro-desert + /usr/share/backgrounds/pop/RP_Wallpaper25.png + zoom + #000000 + #000000 + solid + + + nick-nazzaro-ice-cave + /usr/share/backgrounds/pop/RP_Wallpaper26.png + zoom + #000000 + #000000 + solid + + + nick-nazzaro-jungle-green + /usr/share/backgrounds/pop/RP_Wallpaper27.png + zoom + #000000 + #000000 + solid + + + nick-nazzaro-jungle-red + /usr/share/backgrounds/pop/RP_Wallpaper28.png + zoom + #000000 + #000000 + solid + + + nick-nazzaro-space-blue + /usr/share/backgrounds/pop/RP_Wallpaper29.png + zoom + #000000 + #000000 + solid + + + nick-nazzaro-space-red + /usr/share/backgrounds/pop/RP_Wallpaper30.png + zoom + #000000 + #000000 + solid + + + kate-hazen-unleash-your-robot + /usr/share/backgrounds/pop/RP_Wallpaper31.png + zoom + #000000 + #000000 + solid + + + nasa-45068 + /usr/share/backgrounds/pop/RP_Wallpaper32.png + zoom + #000000 + #000000 + solid + + + nasa-53884 + /usr/share/backgrounds/pop/RP_Wallpaper33.png + zoom + #000000 + #000000 + solid + + + nasa-89125 + /usr/share/backgrounds/pop/RP_Wallpaper34.png + zoom + #000000 + #000000 + solid + + + nasa-89127 + /usr/share/backgrounds/pop/RP_Wallpaper35.png + zoom + #000000 + #000000 + solid + + + ng-32703 + /usr/share/backgrounds/pop/RP_Wallpaper36.png + zoom + #000000 + #000000 + solid + + + nick-nazzaro-bedroom + /usr/share/backgrounds/pop/RP_Wallpaper37.png + zoom + #000000 + #000000 + solid + + + nick-nazzaro-desert + /usr/share/backgrounds/pop/RP_Wallpaper38.png + zoom + #000000 + #000000 + solid + + + nick-nazzaro-ice-cave + /usr/share/backgrounds/pop/RP_Wallpaper39.png + zoom + #000000 + #000000 + solid + + + nick-nazzaro-jungle-green + /usr/share/backgrounds/pop/RP_Wallpaper40.png + zoom + #000000 + #000000 + solid + + + nick-nazzaro-jungle-red + /usr/share/backgrounds/pop/RP_Wallpaper41.png + zoom + #000000 + #000000 + solid + + + nick-nazzaro-space-blue + /usr/share/backgrounds/pop/RP_Wallpaper42.png + zoom + #000000 + #000000 + solid + + + nick-nazzaro-space-red + /usr/share/backgrounds/pop/RP_Wallpaper43.png + zoom + #000000 + #000000 + solid + +