Compare commits

..

5 commits
main ... main

Author SHA1 Message Date
a243497f6c Update 3progs.sh 2024-12-09 17:24:49 +00:00
72bc5b727a Programok ABC sorrendben 2024-12-09 17:19:03 +00:00
e61b220ddd Delete 1update-gnome.sh 2024-12-09 17:05:35 +00:00
d980017bc7 Delete 1update-cinnamon 2024-12-09 17:05:31 +00:00
5d435f8026 Delete 1gpt-KDE.sh 2024-12-09 17:05:25 +00:00
4 changed files with 8 additions and 844 deletions

View file

@ -1,165 +0,0 @@
#!/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="Valaszd ki a kivant nyelvet!" \
--text="Valassz az alabbi opciok kozul:" \
--column="Valassz" --column="Rendszer nyelv" \
FALSE "English language" \
FALSE "Magyar nyelv")
if [[ $? -eq 1 ]]; then
echo ${bold}${yellow}A script futasa leallitva. Kilepes!${normal}
exit 1
fi
# Nala telepites
echo ---------------------------------------------
echo A ${bold}${yellow}Nala - DEB csomag ${normal} telepitese...
echo
sudo apt update
sudo apt install nala -y
sudo apt purge ubuntu-advantage-tools -y
flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
echo
echo A ${bold}${yellow}Nala ${normal}telepitve.
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 nala install linux-xanmod-edge-x64v4 -y
echo ${bold}${yellow}XanMod - Gaming Kernel AMD ${normal}installed.
echo ---------------------------------------------
echo
# A KDE Plasma + tomorito program telepitese
sudo nala install ark kde-plasma-desktop plasma-workspace-wayland plasma-wayland-protocols kwayland-integration -y
# Az sddm.conf letrehozasa, hogy bejelentkezeskor ne legyen virtualis billentyuzet
sudo touch /etc/sddm.conf && echo -e '[General]\nInputMethod=' | sudo tee /etc/sddm.conf > /dev/null
# User beallitasok
echo
echo ---------------------------------------------
echo Az ${bold}${yellow}User beallitasok ${normal}vegrehajtasa...
plasma-apply-colorscheme BreezeDark
plasma-apply-desktoptheme breeze-dark
plasma-apply-lookandfeel org.kde.breezedark.desktop
# Debloater Script (letrehozta: DanyHolder)
sudo nala purge gucharmap* libreoffice-draw* libreoffice-math* libreoffice-impress* imagemagick* vinagre* -y
echo Az ${bold}${yellow}User beallitasok ${normal}vegrehajtasa megtortent.
echo ---------------------------------------------
# Librewolf telepitese
echo ---------------------------------------------
echo A ${bold}${yellow}Librewolf - DEB csomag ${normal}telepitese...
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 A ${bold}${yellow}Librewolf ${normal}telepitve.
echo ---------------------------------------------
# VLC medialejatszo telepitese
echo ---------------------------------------------
echo A ${bold}${yellow}VLC medialejatszo - flatpak csomag ${normal}telepitese...
flatpak install flathub org.videolan.VLC --user -y
echo A ${bold}${yellow}VLC ${normal}telepitve.
echo ---------------------------------------------
# QBittorrent telepitese
echo ---------------------------------------------
echo A ${bold}${yellow}QBittorrent - flatpak csomag ${normal}telepitese...
flatpak install flathub org.qbittorrent.qBittorrent --user -y
echo A ${bold}${yellow}QBittorrent ${normal}telepitve.
echo ---------------------------------------------
# FreeTube telepitese
echo ---------------------------------------------
echo A ${bold}${yellow}FreeTube - flatpak csomag ${normal}telepitese...
flatpak install flathub io.freetubeapp.FreeTube --user -y
echo A ${bold}${yellow}FreeTube ${normal}telepitve.
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 ${normal}enabled.
echo ---------------------------------------------
echo
if [[ $user_choice = *"Magyar nyelv"* ]]; then
# Wayland automatikus engedelyezese
echo
echo ---------------------------------------------
echo A ${bold}${yellow}Wayland ablakkezelo ${normal}engedelyezese...
echo
sudo cp -a rave-pp /usr/share/pixmaps/faces/
sudo cp -a .mozilla /home/$USER/
echo
echo A ${bold}${yellow}Wayland ${normal}engedelyezve.
echo ---------------------------------------------
echo
# Magyar nyelvi csomagok
echo
echo ---------------------------------------------
echo A ${bold}${yellow}magyar nyelvi csomagok ${normal}telepitese...
echo
sudo apt install language-pack-hu language-pack-hu-base language-pack-kde-hu task-hungarian-kde-desktop -y
echo
echo A ${bold}${yellow}magyar nyelvi csomagok ${normal}telepitve.
echo ---------------------------------------------
fi
# Script vege
echo ${bold}${yellow}A rendszer 3 masodperc mulva ujraindul! ${normal}
echo ${bold}${yellow}3... ${normal}
sleep 1
echo ${bold}${yellow}2... ${normal}
sleep 1
echo ${bold}${yellow}1... ${normal}
sleep 1
sudo reboot

View file

@ -1,401 +0,0 @@
#!/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 - Xwaylandvideobridge AutoStart" \
FALSE "AMD GPU - Angol Nyelv - Xwaylandvideobridge Manual Start" \
FALSE "AMD GPU - Magyar Nyelv - Xwaylandvideobridge AutoStart" \
FALSE "AMD GPU - Magyar Nyelv - Xwaylandvideobridge Manual Start" \
FALSE "Nvidia GPU - Angol Nyelv - Xwaylandvideobridge AutoStart" \
FALSE "Nvidia GPU - Angol Nyelv - Xwaylandvideobridge Manual Start" \
FALSE "Nvidia GPU - Magyar Nyelv - Xwaylandvideobridge AutoStart" \
FALSE "Nvidia GPU - Magyar Nyelv - Xwaylandvideobridge Manual Start")
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 install nala -y
sudo apt purge ubuntu-advantage-tools -y
flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
# Debloater Script by DanyHolder
#sudo nala purge gnome-calendar gucharmap* geary* seahorse libreoffice-draw* libreoffice-math* libreoffice-impress* imagemagick vinagre* gnome-font-viewer gnome-power-manager cinnamon* touchegg aisleriot deja-dup celluloid drawing hexchat redshift redshift-gtk rhythmbox xed timeshift yelp warpinator simple-scan hypnotix bulky transmission* usb-creator* mintstick* mintwelcome mintbackup mint-backgrounds-* mint-cursor* thunderbird* mintlocale mintupdate* mintmenu mintdrivers* mintinstall* onboard* pix* mintreport* webapp-manager mint-themes lightdm* gnome-online-accounts libreoffice-base* gnome-mahjongg gnome-maps gnome-mines cheese gnome-contacts gnome-sudoku gnome-todo gnome-color-manager gnome-music totem totem-plugins thingy* xreader -y
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 -R $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 -R $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 Custom Rave Wallpapers made by DanyHolder & Pacuka
echo ---------------------------------------------
echo Installing ${bold}${yellow}Custom Rave Wallpapers${normal}
echo
sudo mkdir -p /usr/share/backgrounds/rave
sudo tar -xvf RP_Wallpapers.tar.xz -C /usr/share/backgrounds/rave/
echo
echo ${bold}${yellow}Custom Rave Wallpapers ${normal}installed.
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 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 v4l2loopback-dkms v4l-utils v4l2loopback-utils libqt5sql5 libqt5svg5 libqt5xml5 libspeexdsp1 ffmpeg -y
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 nala 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 ---------------------------------------------
# DEBUG: Redirect output to a log file
#exec > >(tee xwvb_output.log)
#exec 2>&1
# Check the Linux distribution
check_distro() {
if [ -f "/etc/os-release" ] && grep -qi "debian" /etc/os-release; then
echo "Debian detected."
elif [ -f "/etc/os-release" ] && grep -qi "ubuntu" /etc/os-release; then
echo "Ubuntu detected."
elif [ -f "/etc/os-release" ] && grep -qi "mint" /etc/os-release; then
echo "Linux Mint detected."
elif [ -f "/etc/os-release" ] && grep -qi "fedora" /etc/os-release; then
echo "Fedora detected."
elif [ -f "/etc/os-release" ] && grep -qi "opensuse" /etc/os-release; then
echo "openSUSE detected."
elif [ -f "/etc/os-release" ] && grep -qi "arch" /etc/os-release; then
echo "Arch Linux detected."
elif [ -f "/etc/os-release" ] && grep -qi "gentoo" /etc/os-release; then
echo "Gentoo detected."
elif [ -f "/etc/os-release" ] && grep -qi "void" /etc/os-release; then
echo "Void Linux detected."
else
echo "Unsupported distribution. Flatpak installation won't work!"
fi
}
# Check if Flatpak is installed and install it if not
inst_flatpak() {
if ! command -v flatpak &>/dev/null; then
echo "Flatpak is not installed. Installing..."
# Check the package manager used by the distro and install Flatpak accordingly
if [ -f "/etc/os-release" ] && grep -qi "debian" /etc/os-release; then
sudo apt update
sudo apt install -y flatpak
elif [ -f "/etc/os-release" ] && grep -qi "ubuntu" /etc/os-release; then
sudo apt update
sudo apt install -y flatpak
elif [ -f "/etc/os-release" ] && grep -qi "mint" /etc/os-release; then
sudo apt update
sudo apt install -y flatpak
elif [ -f "/etc/os-release" ] && grep -qi "fedora" /etc/os-release; then
sudo dnf install -y flatpak
elif [ -f "/etc/os-release" ] && grep -qi "opensuse" /etc/os-release; then
sudo zypper in flatpak
elif [ -f "/etc/os-release" ] && grep -qi "arch" /etc/os-release; then
sudo pacman -Syu --noconfirm flatpak
elif [ -f "/etc/os-release" ] && grep -qi "gentoo" /etc/os-release; then
echo "sys-apps/flatpak X policykit seccomp systemd" | sudo tee /etc/portage/package.use/flatpak-xwvb-script
sudo emerge -q sys-apps/flatpak
elif [ -f "/etc/os-release" ] && grep -qi "void" /etc/os-release; then
sudo xbps-install -S flatpak
else
echo "Unsupported distribution. Can't install Flatpak. Install Flatpak on your system and try again!"
exit 1
fi
echo "Flatpak has been installed successfully."
else
echo "Flatpak is already installed."
fi
}
# Add Flatpak repositories
add_repos() {
echo "Adding repositories..."
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
sudo flatpak remote-add --if-not-exists kdeapps https://distribute.kde.org/kdeapps.flatpakrepo
}
# Install the XWayland Video Bridge
inst_xwvb() {
echo "Installing XWayland Video Bridge..."
flatpak install kdeapps org.kde.xwaylandvideobridge -y
}
# Executing all functions
check_distro
inst_flatpak
add_repos
inst_xwvb
# It's done, yay!
echo "XWayland Video Bridge installed successfully. Have fun!"
fwupdmgr update
# 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 nala install git -y
echo ${bold}${yellow}User settings ${normal}installed.
echo ---------------------------------------------
if [[ $user_choice = *"AMD GPU - Angol Nyelv - Xwaylandvideobridge AutoStart"* ]]; 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 sed -i '7 i Icon=/usr/share/pixmaps/faces/rave-pp' /var/lib/AccountsService/users/$USER
sudo cp -a .mozilla /home/$USER/
echo
echo ${bold}${yellow}Wayland Window Manager ${normal}enabled.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"AMD GPU - Angol Nyelv - Xwaylandvideobridge Manual Start"* ]]; 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 sed -i '7 i Icon=/usr/share/pixmaps/faces/rave-pp' /var/lib/AccountsService/users/$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 - Xwaylandvideobridge AutoStart"* ]]; 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 sed -i 's/WaylandEnable=false/WaylandEnable=true/' /etc/gdm3/custom.conf
sudo sed -i '7d' /var/lib/AccountsService/users/$USER
sudo sed -i '7 i Icon=/usr/share/pixmaps/faces/rave-pp' /var/lib/AccountsService/users/$USER
sudo sed -i 's/Session=/Session=wayland' /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 nala install language-pack-hu language-pack-hu-base -y
echo
echo ${bold}${yellow}Hungarian LangPack ${normal}downloaded.
echo ---------------------------------------------
echo
echo ---------------------------------------------
echo Downloading ${bold}${yellow}Hungarian LangPack${normal}
echo
sudo nala install language-pack-hu language-pack-hu-base -y
echo
echo ${bold}${yellow}Hungarian LangPack ${normal}downloaded.
echo ---------------------------------------------
fi
if [[ $user_choice = *"AMD GPU - Magyar Nyelv - Xwaylandvideobridge Manual Start"* ]]; 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 sed -i 's/WaylandEnable=false/WaylandEnable=true/' /etc/gdm3/custom.conf
sudo sed -i '7d' /var/lib/AccountsService/users/$USER
sudo sed -i '7 i Icon=/usr/share/pixmaps/faces/rave-pp' /var/lib/AccountsService/users/$USER
sudo sed -i 's/Session=/Session=wayland' /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 nala install 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 - Xwaylandvideobridge AutoStart"* ]]; then
cp -a /var/lib/flatpak/app/org.kde.xwaylandvideobridge/x86_64/master/57c956ce29f61cdc8822aae58c71bf4466db8ba94e8d0649f5eb949304ba4051/export/share/applications/org.kde.xwaylandvideobridge.desktop ~/.config/autostart
echo
echo ${bold}${yellow}Xwaylandvideobridge autostart set${normal}
echo ---------------------------------------------
fi
if [[ $user_choice = *"Nvidia GPU - Angol Nyelv - Xwaylandvideobridge Manual Start"* ]]; then
echo
echo ${bold}${yellow}Xwaylandvideobridge keyboard shortcuts set${normal}
echo ---------------------------------------------
fi
if [[ $user_choice = *"Nvidia GPU - Magyar Nyelv - Xwaylandvideobridge AutoStart"* ]]; then
echo
echo ---------------------------------------------
echo Downloading ${bold}${yellow}Hungarian LangPack${normal}
echo
sudo nala install language-pack-hu language-pack-hu-base -y
echo
echo ${bold}${yellow}Hungarian LangPack ${normal}downloaded.
echo ---------------------------------------------
echo
echo
echo ---------------------------------------------
cp -a /var/lib/flatpak/app/org.kde.xwaylandvideobridge/x86_64/master/57c956ce29f61cdc8822aae58c71bf4466db8ba94e8d0649f5eb949304ba4051/export/share/applications/org.kde.xwaylandvideobridge.desktop ~/.config/autostart
echo
echo ${bold}${yellow}Xwaylandvideobridge autostart set${normal}
echo ---------------------------------------------
fi
if [[ $user_choice = *"Nvidia GPU - Magyar Nyelv - Xwaylandvideobridge Manual Start"* ]]; then
echo
echo ---------------------------------------------
echo Downloading ${bold}${yellow}Hungarian LangPack${normal}
echo
sudo nala install language-pack-hu language-pack-hu-base -y
echo
echo ${bold}${yellow}Hungarian LangPack ${normal}downloaded.
echo ---------------------------------------------
echo
fi
sudo chown -R $USER:$GROUP ~/
# 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

View file

@ -1,256 +0,0 @@
#!/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 "MEG NEM MUKODIK!! Nvidia GPU - Angol Nyelv" \
FALSE "MEG NEM MUKODIK!! 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 and changing DE - DEB Pkg${normal}
echo
sudo apt purge lightdm -y
sudo apt install nala -y
sudo apt install gdm3 -y
sudo apt purge ubuntu-advantage-tools -y
sudo apt install gnome-shell gnome-terminal eog gnome-system-monitor nautilus gnome-software-plugin-flatpak nautilus-extension-gnome-terminal gnome-software gedit lm-sensors gnome-shell-extensions qgnomeplatform-qt5 -y
echo "export QT_QPA_PLATFORMTHEME='gnome'" >> /home/$USER/.profile
flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
sudo rm -rf /usr/lib/lightdm
sudo rm -rf /var/lib/lightdm-data
sudo rm -rf /usr/lib/python3/dist-packages/cinnamon
sudo apt install ubuntu-advantage-tools -y
echo
echo ${bold}${yellow}Nala and changing DE - 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 -R $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 -R $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 ---------------------------------------------
# Yaru Theme
echo ---------------------------------------------
echo Installing ${bold}${yellow}Yaru theme - DEB Pkg${normal}
echo
sudo apt install yaru-theme-gnome-shell yaru-theme-icon yaru-theme-gtk yaru-theme-sound -y
echo
echo ${bold}${yellow}Yaru theme ${normal}installed.
echo ---------------------------------------------
# RP Cosmetics
echo ---------------------------------------------
echo Installing ${bold}${yellow}Setting correct Rave Theme${normal}
echo
sudo cp -a rave-pp.png /usr/share/pixmaps/faces/
sudo sed -i '7d' /var/lib/AccountsService/users/$USER
sudo sed -i '7 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/
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'
gsettings set org.x.apps.portal color-scheme prefer-dark
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
sudo cp -a raveos-bg.png /usr/share/backgrounds/linuxmint-wilma/
sudo cp -a linuxmint-wilma.xml /usr/share/gnome-background-properties/
sudo cp -a start-here-symbolic.svg /usr/share/icons/Yaru/scalable/places/
sudo cp -a gnome-shell /home/$USER/.local/share/
sudo cp -a burn-my-windows /home/$USER/.config/
sudo apt install git -y
git clone --depth=1 https://github.com/realmazharhussain/gdm-tools.git
sudo cp -a install.sh gdm-tools/
cd gdm-tools
./install.sh
cd -
set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/linuxmint-wilma/raveos-bg.png
sudo rm -rf gdm-tools
echo
echo ${bold}${yellow}Correct Rave Theme ${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
# egyelore uresen hagyjuk
#echo
#echo ${bold}${yellow}Dependencies ${normal}installed.
#echo ---------------------------------------------
echo Installing ${bold}${yellow}Liquorix - Gaming Kernel - DEB Pkg${normal}
curl -s 'https://liquorix.net/install-liquorix.sh' | sudo bash
echo ${bold}${yellow}Liquorix - Gaming Kernel ${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
# Upgrading the System
echo ---------------------------------------------
echo ${bold}${yellow}Upgrading the System${normal}
echo
sudo add-apt-repository ppa:kisak/turtle -y
sudo apt update
sudo apt upgrade -y
sleep 2
echo
echo ${bold}${yellow}System upgraded!${normal}
echo ---------------------------------------------
fwupdmgr update
# Removing bloat
echo ---------------------------------------------
echo ${bold}${yellow}Removing bloat${normal}
echo
#sudo cp -a default.plymouth /usr/share/plymouth/themes
sudo apt purge xfce* libxfce* mugshot catfish compiz* gnome-logs synaptic menulibre libreoffice-draw libreoffice-impress libreoffice-math seahorse xed hypnotix mintstick celluloid xviewer xreader hexchat thingy mintbackup drawing transmission* timeshift redshift pix mintreport thunderbird onboard webapp-manager warpinator gnome-online-accounts rhythmbox mintinstall -y
sudo rm -rf /usr/share/xfce4/applications
echo
echo ${bold}${yellow}Bloat removed!${normal}
echo ---------------------------------------------
if [[ $user_choice = *"AMD GPU - Angol Nyelv"* ]]; then
# Wayland Auto-Enable
echo
echo ---------------------------------------------
echo Loading ${bold}${yellow}Proper DCONF${normal}
echo
dconf load / < raveui-eng
echo
echo ${bold}${yellow}Proper DCONF ${normal}loaded.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"AMD GPU - Magyar Nyelv"* ]]; then
# Wayland Auto-Enable
echo
echo ---------------------------------------------
echo Downloading ${bold}${yellow}Hungarian LangPack${normal}
echo
dconf load / < raveui-hun
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
# stays in to prevent confusion
echo
echo
echo ---------------------------------------------
fi
if [[ $user_choice = *"Nvidia GPU - Magyar Nyelv"* ]]; then
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
reboot

28
3progs.sh Executable file → Normal file
View file

@ -6,7 +6,7 @@ normal=$(tput sgr0) # ${normal}
yellow=$(tput setaf 3) # ${yellow} yellow=$(tput setaf 3) # ${yellow}
# APT/Flatpak APP TELEPITO SCRIPT # APT/Flatpak APP TELEPITO SCRIPT
# Easter Egg :)
# Entering work folder # Entering work folder
cd /home/$USER/.progs cd /home/$USER/.progs
sudo chown -R $USER:$GROUP /home/$USER/ sudo chown -R $USER:$GROUP /home/$USER/
@ -21,7 +21,7 @@ user_choice=$(zenity --list --checklist --width='1000' --height='1000' \
FALSE "Brave - webböngésző" \ FALSE "Brave - webböngésző" \
FALSE "CoreCTRL - AMD GPU beállító alkalmazás" \ FALSE "CoreCTRL - AMD GPU beállító alkalmazás" \
FALSE "Cider - Apple Music Player Linuxra" \ FALSE "Cider - Apple Music Player Linuxra" \
FALSE "Csak a FO Monitoron jelenjen meg a Login Screen - Tobb monitoros setupoknal" \ FALSE "Csak a FO Monitoron jelenjen meg a Login Screen - Tobb monitoros setupoknal")
FALSE "Docker - Ha tudod mi ez akkor KELL Neked" \ FALSE "Docker - Ha tudod mi ez akkor KELL Neked" \
FALSE "Darktable - Adobe Lightroom Linuxos megfelelője" \ FALSE "Darktable - Adobe Lightroom Linuxos megfelelője" \
FALSE "Discord - VoIP-, és csevegőalkalmazás" \ FALSE "Discord - VoIP-, és csevegőalkalmazás" \
@ -44,7 +44,6 @@ user_choice=$(zenity --list --checklist --width='1000' --height='1000' \
FALSE "Lutris - Game launchereket, és egyéb appokat futtató környezet" \ FALSE "Lutris - Game launchereket, és egyéb appokat futtató környezet" \
FALSE "MangoHud/Goverlay - MSI Afterburner Linuxos megfelelője, FPS kijelzés, stb." \ FALSE "MangoHud/Goverlay - MSI Afterburner Linuxos megfelelője, FPS kijelzés, stb." \
FALSE "Midnight Commander - 2 ablakos file kezelő" \ FALSE "Midnight Commander - 2 ablakos file kezelő" \
FALSE "Monophony - Youtube videokbol kiszedi a hangot. Jo cucc podcastokhoz" \
FALSE "Mumble - hang alapú csevegőalkalmazás" \ FALSE "Mumble - hang alapú csevegőalkalmazás" \
FALSE "Neofetch - terminálos rendszerinfó megjelenítő" \ FALSE "Neofetch - terminálos rendszerinfó megjelenítő" \
FALSE "OnlyOffice - Legujabb MS Office Linuxos megfeleloje - LIBREOFFICE-t TOROLNI FOGJA!" \ FALSE "OnlyOffice - Legujabb MS Office Linuxos megfeleloje - LIBREOFFICE-t TOROLNI FOGJA!" \
@ -63,7 +62,7 @@ user_choice=$(zenity --list --checklist --width='1000' --height='1000' \
FALSE "Vivaldi - webböngésző" \ FALSE "Vivaldi - webböngésző" \
FALSE "VLC - médialejátszó" \ FALSE "VLC - médialejátszó" \
FALSE "Windows 11 Telepítő - Csak Profiknak!" \ FALSE "Windows 11 Telepítő - Csak Profiknak!" \
FALSE "Zenpower3 - AMD CPU Feszultseg, Aramerosseg es Fogyasztas Monitorozas" ) FALSE "Zenpower3 - AMD CPU Feszultseg, Aramerosseg es Fogyasztas Monitorozas" \
if [[ $? -eq 1 ]]; then if [[ $? -eq 1 ]]; then
echo ${bold}${yellow}Cancelled by User. Exiting!${normal} echo ${bold}${yellow}Cancelled by User. Exiting!${normal}
exit 1 exit 1
@ -211,9 +210,7 @@ if [[ $user_choice = *"KVM QEMU - virtualizáció, virtuális gépek futtatása"
sudo usermod -aG kvm $USER sudo usermod -aG kvm $USER
sudo usermod -aG input $USER sudo usermod -aG input $USER
sudo usermod -aG libvirt $USER sudo usermod -aG libvirt $USER
sudo sed -i '530d' /etc/libvirt/qemu.conf # qemu.conf sed parancs $USER-el hogy ne kelljen kezzel csinalni
sudo sed -i "530 i user = \"$USER"\" /etc/libvirt/qemu.conf
sudo sed -i 's/#group = "kvm"/group = "kvm"/' /etc/libvirt/qemu.conf
echo ${bold}${yellow}KVM QEMU ${normal}installed. echo ${bold}${yellow}KVM QEMU ${normal}installed.
echo --------------------------------------------- echo ---------------------------------------------
@ -562,9 +559,9 @@ if [[ $user_choice = *"Discord - VoIP-, és csevegőalkalmazás"* ]]; then
# Remove symlink from /usr/share/Vencord # Remove symlink from /usr/share/Vencord
sudo unlink /usr/share/Vencord sudo unlink /usr/share/Vencord
sleep 1 sleep 1
sudo mkdir -p /home/$USER/.var/app/com.discordapp.Discord/config/Vencord sudp 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 chown -R $USER:$GROUP /home/$USER/.var/app/com.discordapp.Discord/config/Vencord/
cp -a /home/$USER/.progs/RaveTheme_By_DanyHolder.css /home/$USER/.var/app/com.discordapp.Discord/config/Vencord/themes sudo cp -a RaveTheme_By_DanyHolder.css /home/$USER/.var/app/com.discordapp.Discord/config/Vencord/themes
echo ${bold}${yellow}Discord / Vencord ${normal}installed. echo ${bold}${yellow}Discord / Vencord ${normal}installed.
echo --------------------------------------------- echo ---------------------------------------------
@ -717,20 +714,9 @@ if [[ $user_choice = *"Midnight Commander - 2 ablakos file kezelő"* ]]; then
echo echo
fi fi
if [[ $user_choice = *"Monophony - Youtube videokbol kiszedi a hangot. Jo cucc podcastokhoz"* ]]; then
echo
echo ---------------------------------------------
echo Installing ${bold}${yellow}Monophony - Flatpak${normal}
flatpak install app/io.gitlab.zehkira.Monophony/x86_64/stable --user -y
echo ${bold}${yellow}Monophony ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Windows 11 Telepítő - Csak Profiknak"* ]]; then if [[ $user_choice = *"Windows 11 Telepítő - Csak Profiknak"* ]]; then
zenity --warning --text='!! MAJOM VAGY !!' --width='300' --height='100' zenity --warning --text='!! MAJOM VAGY !!' --width='300' --height='100'
fi
sudo rm /home/$USER/.config/autostart/3progs.sh.desktop sudo rm /home/$USER/.config/autostart/3progs.sh.desktop