From fcd4f93640814f4c37254c6b3969cbb7638e6c12 Mon Sep 17 00:00:00 2001 From: RP1 Date: Tue, 11 Mar 2025 17:50:23 +0000 Subject: [PATCH] Update ros-progs-gui.sh --- ros-progs-gui.sh | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/ros-progs-gui.sh b/ros-progs-gui.sh index 494fe6d..463e472 100755 --- a/ros-progs-gui.sh +++ b/ros-progs-gui.sh @@ -7,22 +7,8 @@ yellow=$(tput setaf 3) # ${yellow} # APT/Flatpak APP TELEPITO SCRIPT -flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo - # Entering work folder cd /usr/local/bin/progs -echo "[User] -Session= -Icon=/usr/share/backgrounds/rave-pp.png -SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER - -# Adding ucode to boot entries - Credit Lordify -CPU=$(lscpu | grep "AMD" -c) - if [[ $CPU -gt 0 ]]; then - echo "initrd /amd-ucode.img" | sudo tee -a /boot/loader/entries/linux-zen.conf - else - echo "initrd /intel-ucode.img" | sudo tee -a /boot/loader/entries/linux-zen.conf - fi # Zenity ablak megjelenítése user_choice=$(zenity --list --checklist --width='1000' --height='1000' \ @@ -680,7 +666,7 @@ if [[ $user_choice = *"Csak a FO Monitoron jelenjen meg a Login Screen - Tobb mo echo --------------------------------------------- echo Setting ${bold}${yellow}Only main monitor on login${normal} - zenity --warning --text='!! SWITCH TO PRIMARY MONITOR ONLY !!' --width='300' --height='100' 2>/dev/null + zenity --warning --text='!! SWITCH TO PRIMARY MONITOR ONLY !!' --width='300' --height='100' sudo mkdir -p /var/lib/gdm/.config/ sudo cp ~/.config/monitors.xml /var/lib/gdm/.config/monitors.xml sudo chown gdm:gdm /var/lib/gdm/.config/monitors.xml @@ -898,14 +884,14 @@ fi if [[ $user_choice = *"Windows 11 Telepítő - Csak Profiknak"* ]]; then - zenity --warning --text='!! MAJOM VAGY !!' --width='300' --height='100' 2>/dev/null + zenity --warning --text='!! MAJOM VAGY !!' --width='300' --height='100' fi # Cleanup sudo rm /etc/xdg/autostart/3progs.sh.desktop 2>/dev/null -zenity --question --title='Restart required!' --text='Restart in 5 seconds?' --width='300' --height='100' 2>/dev/null +zenity --question --title='Restart required!' --text='Restart in 5 seconds?' --width='300' --height='100' if [ $? = 0 ]; then (