diff --git a/1update-gnome.sh b/1update-gnome.sh index 1cf27c1..96052dc 100644 --- a/1update-gnome.sh +++ b/1update-gnome.sh @@ -26,7 +26,7 @@ fi 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 -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 -y 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 @@ -185,7 +185,7 @@ fwupdmgr update echo --------------------------------------------- echo ${bold}${yellow}Removing bloat${normal} echo - sudo cp -a default.plymouth /usr/share/plymouth/themes + #sudo cp -a default.plymouth /usr/share/plymouth/themes sudo chown -R $USER:$GROUP /home/$USER 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 diff --git a/3progs.sh b/3progs.sh index ccceabb..a7de2aa 100644 --- a/3progs.sh +++ b/3progs.sh @@ -224,8 +224,15 @@ if [[ $user_choice = *"CoreCTRL - AMD GPU beállító alkalmazás"* ]]; then sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"/GRUB_CMDLINE_LINUX_DEFAULT="amdgpu.ppfeaturemask=0xffffffff quiet splash"/' /etc/default/grub sudo update-grub cp /usr/share/applications/org.corectrl.CoreCtrl.desktop ~/.config/autostart/ - echo "Identity=unix-group:$USER" >> 90-corectrl.pkla - sudo rsync -ap --info=progress2 90-corectrl.pkla /etc/polkit-1/localauthority/50-local.d/ + echo "polkit.addRule(function(action, subject) { + if ((action.id == \"org.corectrl.helper.init\" || + action.id == \"org.corectrl.helperkiller.init\") && + subject.local == true && + subject.active == true && + subject.isInGroup(\"$USER\")) { + return polkit.Result.YES; + } +});" | sudo tee 90-corectrl.rules echo ${bold}${yellow}CoreCTRL and User settings ${normal}installed. echo ---------------------------------------------