From d78ba5af01316465a24160b45313293ab444e69d Mon Sep 17 00:00:00 2001 From: AlexanderCurl Date: Sat, 11 Jan 2025 19:17:43 +0000 Subject: [PATCH 1/6] Added networkmanager-qt as KSystemMonitor relies on it, deleted network-manager-applet, as not needed --- raveos-kde.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raveos-kde.sh b/raveos-kde.sh index 85ab24c..f743299 100644 --- a/raveos-kde.sh +++ b/raveos-kde.sh @@ -78,7 +78,7 @@ fi # Installing packages - sudo pacman -S sddm plasma-desktop plasma-wayland-protocols plasma-systemmonitor dolphin konsole gnome-disk-utility ark kscreen plasma-pa inkscape ksystemstats network-manager-applet networkmanager flatpak base-devel bash-completion kate kcalc baobab ffmpeg git gparted xdg-desktop-portal xdg-desktop-portal-gtk plasma-browser-integration xdg-desktop-portal-wlr ttf-ubuntu-font-family unzip wget glib2 glib2-devel hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools qt5-graphicaleffects qt5-quickcontrols2 ufw gufw spectacle --noconfirm + sudo pacman -S sddm plasma-desktop plasma-wayland-protocols plasma-systemmonitor networkmanager-qt dolphin konsole gnome-disk-utility ark kscreen plasma-pa inkscape ksystemstats networkmanager flatpak base-devel bash-completion kate kcalc baobab ffmpeg git gparted xdg-desktop-portal xdg-desktop-portal-gtk plasma-browser-integration xdg-desktop-portal-wlr ttf-ubuntu-font-family unzip wget glib2 glib2-devel hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools qt5-graphicaleffects qt5-quickcontrols2 ufw gufw spectacle --noconfirm sudo systemctl enable NetworkManager.service sudo systemctl enable sddm.service sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target @@ -200,4 +200,4 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER echo Reboot in 2s... echo Reboot in 1s... echo Reboot - reboot \ No newline at end of file + reboot -- 2.45.2 From 1501056c6df7d77d0d36a2cccde1e52f96de9ddd Mon Sep 17 00:00:00 2001 From: AlexanderCurl Date: Sat, 11 Jan 2025 19:32:55 +0000 Subject: [PATCH 2/6] Added Michaelsoft Windblows detect and entry create script for systemd-boot --- detect_windows.sh | 89 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100755 detect_windows.sh diff --git a/detect_windows.sh b/detect_windows.sh new file mode 100755 index 0000000..fb3a5c3 --- /dev/null +++ b/detect_windows.sh @@ -0,0 +1,89 @@ +#!/bin/bash + +# systemd-boot utility script to add Michaelsoft boot entry into systemd-boot +# AlexC (c) 2025 + +# Check if the systemd-boot is installed +if ! command -v bootctl &> /dev/null; then + echo "systemd-boot not found. Please install systemd-boot." + exit 1 +fi + +# Function to detect the EFI partition +detect_efi_partition() { + # Search for the FAT32 filesystem, which is used for EFI partitions + efi_partition=$(blkid | grep -i 'vfat' | awk -F: '{print $1}') + + if [ -z "$efi_partition" ]; then + echo "No EFI partition detected." + return 1 + fi + + echo "$efi_partition" + return 0 +} + +# Function to check if Windows boot files exist in the EFI partition +check_windows_boot_files() { + local efi_partition=$1 + local efi_dir_mount_point="/mnt/efi" + + # Mount the EFI partition temporarily to check for Windows boot files + mount "$efi_partition" "$efi_dir_mount_point" &> /dev/null + if [ $? -ne 0 ]; then + echo "Failed to mount EFI partition." + return 1 + fi + + # Check if Windows boot files exist in /EFI/Microsoft/Boot/ + if [ ! -f "$efi_dir_mount_point/EFI/Microsoft/Boot/bootmgfw.efi" ]; then + echo "Windows boot files not found in the EFI partition." + umount "$efi_dir_mount_point" + return 1 + fi + + # Clean up by unmounting the EFI partition + umount "$efi_dir_mount_point" + return 0 +} + +# Function to add Windows entry to systemd-boot +add_windows_entry() { + local efi_partition=$1 + local boot_loader_dir="/boot/loader/entries" + local windows_entry="$boot_loader_dir/windows.conf" + + # Create the entry directory if it doesn't exist + mkdir -p "$boot_loader_dir" + + # Add the Windows entry to systemd-boot + echo "Creating systemd-boot entry for Windows..." + cat < "$windows_entry" +title Windows +efi /EFI/Microsoft/Boot/bootmgfw.efi +options root=$efi_partition ro +EOF + + echo "Windows boot entry added successfully." +} + +# Detect EFI partition and check for Windows boot files +efi_partition=$(detect_efi_partition) +if [ $? -eq 0 ]; then + check_windows_boot_files "$efi_partition" + if [ $? -eq 0 ]; then + add_windows_entry "$efi_partition" + else + echo "Windows boot files are not present. Please ensure Windows is installed properly." + exit 1 + fi +else + echo "Could not detect EFI partition." + exit 1 +fi + +# Reload systemd-boot to recognize the new entry +bootctl update + +echo "systemd-boot entry for Windows has been added and systemd-boot has been updated." +exit 0 -- 2.45.2 From a19081852b3b6b5eb4cb785ed16c283676b4c399 Mon Sep 17 00:00:00 2001 From: AlexanderCurl Date: Sun, 12 Jan 2025 06:41:47 +0000 Subject: [PATCH 3/6] Fixed OnlyOffice installer, typo fix P7Zip in GUI --- 3progs.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/3progs.sh b/3progs.sh index 0cc238b..df6fcc8 100755 --- a/3progs.sh +++ b/3progs.sh @@ -56,7 +56,7 @@ user_choice=$(zenity --list --checklist --width='1000' --height='1000' \ FALSE "OnlyOffice - Legujabb MS Office Linuxos megfeleloje - LIBREOFFICE-t TOROLNI FOGJA!" \ FALSE "OBS - Nyílt forrású felvételkészítő és streamelő program" \ FALSE "Parabolic - Videóletöltő, működik minden platformon" \ - FALSE "PeaZip - tömörítő program" \ + FALSE "P7Zip - tömörítő program" \ FALSE "Pavucontrol - Apponkénti hangerőszabályzás/konfigurálás" \ FALSE "PhotoGIMP - Adobe Photoshop-szerű képszerkesztő Linuxra" \ FALSE "QBittorrent - torrent kliens" \ @@ -367,7 +367,7 @@ if [[ $user_choice = *"OnlyOffice - Legujabb MS Office Linuxos megfeleloje - LIB echo --------------------------------------------- echo Installing ${bold}${yellow}OnlyOffice${normal} - sudo pacman -S onlyoffice-bin --noconfirm + yay -S onlyoffice-bin --noconfirm echo ${bold}${yellow}OnlyOffice ${normal}installed. echo --------------------------------------------- @@ -588,7 +588,7 @@ if [[ $user_choice = *"Vibrant - Szín szaturáció beállító program"* ]]; th echo --------------------------------------------- echo Installing ${bold}${yellow}Vibrant${normal} - flatpak install flathub io.github.libvibrant.vibrantLinux --user -y + yay -S vibrantlinux --noconfirm echo ${bold}${yellow}Vibrant ${normal}installed. echo --------------------------------------------- @@ -733,4 +733,4 @@ zenity --progress \ else echo ${bold}${yellow}User exited the script. Ending!${normal} exit 0; -fi \ No newline at end of file +fi -- 2.45.2 From 066be89b757fea8bde7444808f691570a1b6d2d2 Mon Sep 17 00:00:00 2001 From: AlexanderCurl Date: Sun, 12 Jan 2025 06:50:39 +0000 Subject: [PATCH 4/6] Added rebuild-detector to all scripts --- raveos-gnome.sh | 4 ++-- raveos-hypr.sh | 4 ++-- raveos-kde.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/raveos-gnome.sh b/raveos-gnome.sh index 93a36ad..6bb3c69 100644 --- a/raveos-gnome.sh +++ b/raveos-gnome.sh @@ -78,7 +78,7 @@ fi # Installing packages - sudo pacman -S gnome-console gnome-session gdm gnome-disk-utility gnome-system-monitor eog network-manager-applet networkmanager flatpak base-devel bash-completion gedit gnome-calculator baobab ffmpeg git gnome-control-center gparted gnome-tweaks gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools ufw gufw --noconfirm + sudo pacman -S gnome-console gnome-session gdm gnome-disk-utility gnome-system-monitor eog network-manager-applet networkmanager flatpak base-devel bash-completion gedit gnome-calculator baobab ffmpeg git gnome-control-center gparted gnome-tweaks gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools ufw gufw rebuild-detector --noconfirm sudo systemctl enable gdm.service sudo systemctl enable NetworkManager.service sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service @@ -234,4 +234,4 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER echo Reboot in 2s... echo Reboot in 1s... echo Reboot - reboot \ No newline at end of file + reboot diff --git a/raveos-hypr.sh b/raveos-hypr.sh index a4e2740..ea28109 100644 --- a/raveos-hypr.sh +++ b/raveos-hypr.sh @@ -80,7 +80,7 @@ fi # Installing packages - sudo pacman -S tilix gnome-session gdm gnome-disk-utility gnome-system-monitor eog network-manager-applet networkmanager flatpak base-devel bash-completion gedit gnome-calculator baobab ffmpeg git gnome-control-center gparted gnome-tweaks gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools ufw gufw --noconfirm + sudo pacman -S tilix gnome-session gdm gnome-disk-utility gnome-system-monitor eog network-manager-applet networkmanager flatpak base-devel bash-completion gedit gnome-calculator baobab ffmpeg git gnome-control-center gparted gnome-tweaks gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools ufw gufw rebuild-detector --noconfirm sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo sudo systemctl enable gdm.service @@ -209,4 +209,4 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER echo Reboot in 2s... echo Reboot in 1s... echo Reboot - reboot \ No newline at end of file + reboot diff --git a/raveos-kde.sh b/raveos-kde.sh index f743299..8da576f 100644 --- a/raveos-kde.sh +++ b/raveos-kde.sh @@ -78,7 +78,7 @@ fi # Installing packages - sudo pacman -S sddm plasma-desktop plasma-wayland-protocols plasma-systemmonitor networkmanager-qt dolphin konsole gnome-disk-utility ark kscreen plasma-pa inkscape ksystemstats networkmanager flatpak base-devel bash-completion kate kcalc baobab ffmpeg git gparted xdg-desktop-portal xdg-desktop-portal-gtk plasma-browser-integration xdg-desktop-portal-wlr ttf-ubuntu-font-family unzip wget glib2 glib2-devel hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools qt5-graphicaleffects qt5-quickcontrols2 ufw gufw spectacle --noconfirm + sudo pacman -S sddm plasma-desktop plasma-wayland-protocols plasma-systemmonitor networkmanager-qt dolphin konsole gnome-disk-utility ark kscreen plasma-pa inkscape ksystemstats networkmanager flatpak base-devel bash-completion kate kcalc baobab ffmpeg git gparted xdg-desktop-portal xdg-desktop-portal-gtk plasma-browser-integration xdg-desktop-portal-wlr ttf-ubuntu-font-family unzip wget glib2 glib2-devel hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools qt5-graphicaleffects qt5-quickcontrols2 ufw gufw spectacle rebuild-detector --noconfirm sudo systemctl enable NetworkManager.service sudo systemctl enable sddm.service sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target -- 2.45.2 From a7786be8c5f246264cb6ef2d2bb34574597c063c Mon Sep 17 00:00:00 2001 From: AlexanderCurl Date: Sun, 12 Jan 2025 06:59:39 +0000 Subject: [PATCH 5/6] Added Jellyfin Media Player to progs script --- 3progs.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/3progs.sh b/3progs.sh index df6fcc8..991f65d 100755 --- a/3progs.sh +++ b/3progs.sh @@ -43,6 +43,7 @@ user_choice=$(zenity --list --checklist --width='1000' --height='1000' \ FALSE "GTKStressTesting - CPU Monitorozas es Stress Test Program" \ FALSE "Heroic Launcher - Epic Games Launcher Linux verziója" \ FALSE "Input-Remapper 2.0 - egér/bill. gomb konfiguráló, macro író progi" \ + FALSE "Jellyfin - Jellyfin Media Player" \ FALSE "Kdenlive - Linuxos videószerkesztő program" \ FALSE "KeepassXC - Jelszókezelő, az adatbázist titkosítva tárolja a PC-n" \ FALSE "KVM QEMU - virtualizáció, virtuális gépek futtatása" \ @@ -696,6 +697,18 @@ if [[ $user_choice = *"Monophony - Youtube videokbol kiszedi a hangot. Jo cucc p echo fi +if [[ $user_choice = *"Jellyfin - Jellyfin Media Player"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Jellyfin${normal} + + yay -S jellyfin-media-player --noconfirm + + echo ${bold}${yellow}Jellyfin Media Player ${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 -- 2.45.2 From 0ebd0bb38bd0fce72b0926a53316170ebdcc70c6 Mon Sep 17 00:00:00 2001 From: AlexanderCurl Date: Mon, 13 Jan 2025 07:26:08 +0000 Subject: [PATCH 6/6] Added XPadNeo for Xbox controller support, added fuse2 to all scripts to support AppImages, added discover to KDE script --- 3progs.sh | 13 +++++++++++++ raveos-gnome.sh | 2 +- raveos-hypr.sh | 2 +- raveos-kde.sh | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/3progs.sh b/3progs.sh index 991f65d..9bb306b 100755 --- a/3progs.sh +++ b/3progs.sh @@ -70,6 +70,7 @@ user_choice=$(zenity --list --checklist --width='1000' --height='1000' \ FALSE "Vivaldi - webböngésző" \ FALSE "VLC - médialejátszó" \ FALSE "Windows 11 Telepítő - Csak Profiknak!" \ + FALSE "XPadNeo - XBox Controller Support" \ FALSE "Zenpower3 - AMD CPU Feszultseg, Aramerosseg es Fogyasztas Monitorozas" ) if [[ $? -eq 1 ]]; then echo ${bold}${yellow}Cancelled by User. Exiting!${normal} @@ -709,6 +710,18 @@ if [[ $user_choice = *"Jellyfin - Jellyfin Media Player"* ]]; then echo fi +if [[ $user_choice = *"XpadNeo - XBox Controller Support"* ]]; then + echo + echo --------------------------------------------- + echo Installing ${bold}${yellow}Jellyfin${normal} + + yay -S xpadneo --noconfirm + + echo ${bold}${yellow}XPadNeo ${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 diff --git a/raveos-gnome.sh b/raveos-gnome.sh index 6bb3c69..eda3f2c 100644 --- a/raveos-gnome.sh +++ b/raveos-gnome.sh @@ -78,7 +78,7 @@ fi # Installing packages - sudo pacman -S gnome-console gnome-session gdm gnome-disk-utility gnome-system-monitor eog network-manager-applet networkmanager flatpak base-devel bash-completion gedit gnome-calculator baobab ffmpeg git gnome-control-center gparted gnome-tweaks gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools ufw gufw rebuild-detector --noconfirm + sudo pacman -S gnome-console gnome-session gdm gnome-disk-utility gnome-system-monitor fuse2 eog network-manager-applet networkmanager flatpak base-devel bash-completion gedit gnome-calculator baobab ffmpeg git gnome-control-center gparted gnome-tweaks gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools ufw gufw rebuild-detector --noconfirm sudo systemctl enable gdm.service sudo systemctl enable NetworkManager.service sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service diff --git a/raveos-hypr.sh b/raveos-hypr.sh index ea28109..0d07747 100644 --- a/raveos-hypr.sh +++ b/raveos-hypr.sh @@ -80,7 +80,7 @@ fi # Installing packages - sudo pacman -S tilix gnome-session gdm gnome-disk-utility gnome-system-monitor eog network-manager-applet networkmanager flatpak base-devel bash-completion gedit gnome-calculator baobab ffmpeg git gnome-control-center gparted gnome-tweaks gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools ufw gufw rebuild-detector --noconfirm + sudo pacman -S tilix gnome-session gdm gnome-disk-utility gnome-system-monitor fuse2 eog network-manager-applet networkmanager flatpak base-devel bash-completion gedit gnome-calculator baobab ffmpeg git gnome-control-center gparted gnome-tweaks gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools ufw gufw rebuild-detector --noconfirm sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo sudo systemctl enable gdm.service diff --git a/raveos-kde.sh b/raveos-kde.sh index 8da576f..9098a03 100644 --- a/raveos-kde.sh +++ b/raveos-kde.sh @@ -78,7 +78,7 @@ fi # Installing packages - sudo pacman -S sddm plasma-desktop plasma-wayland-protocols plasma-systemmonitor networkmanager-qt dolphin konsole gnome-disk-utility ark kscreen plasma-pa inkscape ksystemstats networkmanager flatpak base-devel bash-completion kate kcalc baobab ffmpeg git gparted xdg-desktop-portal xdg-desktop-portal-gtk plasma-browser-integration xdg-desktop-portal-wlr ttf-ubuntu-font-family unzip wget glib2 glib2-devel hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools qt5-graphicaleffects qt5-quickcontrols2 ufw gufw spectacle rebuild-detector --noconfirm + sudo pacman -S sddm plasma-desktop plasma-wayland-protocols plasma-systemmonitor networkmanager-qt discover dolphin konsole fuse2 gnome-disk-utility ark kscreen plasma-pa inkscape ksystemstats networkmanager flatpak base-devel bash-completion kate kcalc baobab ffmpeg git gparted xdg-desktop-portal xdg-desktop-portal-gtk plasma-browser-integration xdg-desktop-portal-wlr ttf-ubuntu-font-family unzip wget glib2 glib2-devel hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools qt5-graphicaleffects qt5-quickcontrols2 ufw gufw spectacle rebuild-detector --noconfirm sudo systemctl enable NetworkManager.service sudo systemctl enable sddm.service sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target -- 2.45.2