forked from RP1/RaveOS-arch
fixed kernel script
This commit is contained in:
parent
ea6254c62e
commit
f02ad82a4e
4 changed files with 16 additions and 30 deletions
13
3progs.sh
13
3progs.sh
|
@ -23,6 +23,7 @@ user_choice=$(zenity --list --checklist --width='1000' --height='1000' \
|
||||||
--title="APP Telepítő Script base by Airman & RAVE (Magyarosította balage79)" \
|
--title="APP Telepítő Script base by Airman & RAVE (Magyarosította balage79)" \
|
||||||
--text="Válassz az alábbi programok közül:" \
|
--text="Válassz az alábbi programok közül:" \
|
||||||
--column="Válassz" --column="Programnév / Leírás" \
|
--column="Válassz" --column="Programnév / Leírás" \
|
||||||
|
FALSE "Bluetooth - Ha hasznalsz BT-t tedd fel" \
|
||||||
FALSE "Brave - webböngésző" \
|
FALSE "Brave - webböngésző" \
|
||||||
FALSE "Cider - Apple Music Player Linuxra" \
|
FALSE "Cider - Apple Music Player Linuxra" \
|
||||||
FALSE "CoreCTRL - AMD GPU beállító alkalmazás" \
|
FALSE "CoreCTRL - AMD GPU beállító alkalmazás" \
|
||||||
|
@ -73,6 +74,18 @@ if [[ $? -eq 1 ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $user_choice = *"Bluetooth - Ha hasznalsz BT-t tedd fel"* ]]; then
|
||||||
|
echo
|
||||||
|
echo ---------------------------------------------
|
||||||
|
echo Installing ${bold}${yellow}Bluetooth${normal}
|
||||||
|
|
||||||
|
sudo pacman -S bluez bluez-qt bluez-qt5 bluez-libs bluez-tools --noconfirm
|
||||||
|
sudo systemctl enable bluetooth
|
||||||
|
|
||||||
|
echo ${bold}${yellow}Bluetooth ${normal}installed.
|
||||||
|
echo ---------------------------------------------
|
||||||
|
echo
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $user_choice = *"GNOME Screenshot - gyorsbillentyűs képernyőkép létrehozás"* ]]; then
|
if [[ $user_choice = *"GNOME Screenshot - gyorsbillentyűs képernyőkép létrehozás"* ]]; then
|
||||||
echo
|
echo
|
||||||
|
|
|
@ -35,14 +35,6 @@ Locale=$(locale | grep "hu_HU" -c)
|
||||||
# Get the current kernel version
|
# Get the current kernel version
|
||||||
kernel_version=$(uname -r)
|
kernel_version=$(uname -r)
|
||||||
|
|
||||||
# Check if the kernel version string is empty
|
|
||||||
if [ -z "$kernel_version" ]; then
|
|
||||||
echo "Kernel version is empty. Installing default headers..."
|
|
||||||
kernel_version="linux" # Default to the generic Arch kernel headers
|
|
||||||
else
|
|
||||||
echo "Current kernel version: $kernel_version"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if kernel is hardened, lts, or zen and set the corresponding header package
|
# Check if kernel is hardened, lts, or zen and set the corresponding header package
|
||||||
if [[ "$kernel_version" == *"hardened"* ]]; then
|
if [[ "$kernel_version" == *"hardened"* ]]; then
|
||||||
kernel_header_package="linux-hardened-headers"
|
kernel_header_package="linux-hardened-headers"
|
||||||
|
@ -86,10 +78,9 @@ fi
|
||||||
|
|
||||||
# Installing packages
|
# 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 cups hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools bluez bluez-tools 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 --noconfirm
|
||||||
sudo systemctl enable gdm.service
|
sudo systemctl enable gdm.service
|
||||||
sudo systemctl enable NetworkManager.service
|
sudo systemctl enable NetworkManager.service
|
||||||
sudo systemctl enable bluetooth
|
|
||||||
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service
|
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
|
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
hblock
|
hblock
|
||||||
|
|
|
@ -37,14 +37,6 @@ Locale=$(echo $LANG)
|
||||||
# Get the current kernel version
|
# Get the current kernel version
|
||||||
kernel_version=$(uname -r)
|
kernel_version=$(uname -r)
|
||||||
|
|
||||||
# Check if the kernel version string is empty
|
|
||||||
if [ -z "$kernel_version" ]; then
|
|
||||||
echo "Kernel version is empty. Installing default headers..."
|
|
||||||
kernel_version="linux" # Default to the generic Arch kernel headers
|
|
||||||
else
|
|
||||||
echo "Current kernel version: $kernel_version"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if kernel is hardened, lts, or zen and set the corresponding header package
|
# Check if kernel is hardened, lts, or zen and set the corresponding header package
|
||||||
if [[ "$kernel_version" == *"hardened"* ]]; then
|
if [[ "$kernel_version" == *"hardened"* ]]; then
|
||||||
kernel_header_package="linux-hardened-headers"
|
kernel_header_package="linux-hardened-headers"
|
||||||
|
@ -88,8 +80,7 @@ fi
|
||||||
|
|
||||||
# Installing packages
|
# 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 cups hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools bluez 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 --noconfirm
|
||||||
sudo systemctl enable bluetooth
|
|
||||||
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service
|
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
|
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
sudo systemctl enable gdm.service
|
sudo systemctl enable gdm.service
|
||||||
|
|
|
@ -26,14 +26,6 @@ Locale=$(locale | grep "hu_HU" -c)
|
||||||
# Get the current kernel version
|
# Get the current kernel version
|
||||||
kernel_version=$(uname -r)
|
kernel_version=$(uname -r)
|
||||||
|
|
||||||
# Check if the kernel version string is empty
|
|
||||||
if [ -z "$kernel_version" ]; then
|
|
||||||
echo "Kernel version is empty. Installing default headers..."
|
|
||||||
kernel_version="linux" # Default to the generic Arch kernel headers
|
|
||||||
else
|
|
||||||
echo "Current kernel version: $kernel_version"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if kernel is hardened, lts, or zen and set the corresponding header package
|
# Check if kernel is hardened, lts, or zen and set the corresponding header package
|
||||||
if [[ "$kernel_version" == *"hardened"* ]]; then
|
if [[ "$kernel_version" == *"hardened"* ]]; then
|
||||||
kernel_header_package="linux-hardened-headers"
|
kernel_header_package="linux-hardened-headers"
|
||||||
|
@ -86,10 +78,9 @@ fi
|
||||||
|
|
||||||
# Installing packages
|
# Installing packages
|
||||||
|
|
||||||
sudo pacman -S sddm plasma-desktop plasma-wayland-protocols plasma-systemmonitor dolphin konsole gnome-disk-utility ark kscreen kmix 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 cups hblock nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools bluez qt5-graphicaleffects qt5-quickcontrols2 ufw gufw spectacle bluez-qt bluez-qt5 bluez-libs bluez-tools --noconfirm
|
sudo pacman -S sddm plasma-desktop plasma-wayland-protocols plasma-systemmonitor dolphin konsole gnome-disk-utility ark kscreen kmix 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 systemctl enable NetworkManager.service
|
sudo systemctl enable NetworkManager.service
|
||||||
sudo systemctl enable sddm.service
|
sudo systemctl enable sddm.service
|
||||||
sudo systemctl enable bluetooth
|
|
||||||
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
|
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
|
||||||
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
hblock
|
hblock
|
||||||
|
|
Loading…
Reference in a new issue