From fdcaf6ef28b8afe5450e68560ae04ccf0993233e Mon Sep 17 00:00:00 2001 From: Tommy Date: Wed, 25 Dec 2024 02:44:15 -0700 Subject: [PATCH] Fedora GNOME 41 & remove gnome-system-monitor --- debian-gnome/debian-gnome.sh | 2 +- dom0.sh | 4 ++-- fedora-gnome/fedora-gnome.sh | 18 +++++++++--------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/debian-gnome/debian-gnome.sh b/debian-gnome/debian-gnome.sh index 988af4e..556782c 100644 --- a/debian-gnome/debian-gnome.sh +++ b/debian-gnome/debian-gnome.sh @@ -72,7 +72,7 @@ sudo apt autoremove -y # Debloat # Remove unnecessary stuff from the Qubes template -sudo apt purge -y gnome-software thunderbird keepassxc +sudo apt purge -y gnome-software gnome-system-monitor thunderbird keepassxc # Remove Network + hardware tools packages sudo apt purge -y avahi* cups* '*nfs*' rygel '*smtp*' system-config-printer* '*telnet*' diff --git a/dom0.sh b/dom0.sh index 9d076b0..bbd372a 100644 --- a/dom0.sh +++ b/dom0.sh @@ -38,8 +38,8 @@ sudo chmod +x /etc/qubes-rpc/qubes.VMAuth # Set qvm-features # Run these after you have installed the fedora-40 and debian-12 templates -# sudo qvm-features fedora-40 default-menu-items 'org.gnome.Nautilus.desktop org.gnome.Ptyxis.desktop' -# sudo qvm-features fedora-40 netvm-menu-items 'org.gnome.Ptyxis.desktop' +# sudo qvm-features fedora-41 default-menu-items 'org.gnome.Nautilus.desktop org.gnome.Ptyxis.desktop' +# sudo qvm-features fedora-41 netvm-menu-items 'org.gnome.Ptyxis.desktop' # sudo qvm-features debian-12 default-menu-items 'org.gnome.Console.desktop org.gnome.Nautilus.desktop' # sudo qvm-features debian-12 netvm-menu-items 'org.gnome.Console.desktop' diff --git a/fedora-gnome/fedora-gnome.sh b/fedora-gnome/fedora-gnome.sh index 364e9cb..2ff2887 100644 --- a/fedora-gnome/fedora-gnome.sh +++ b/fedora-gnome/fedora-gnome.sh @@ -83,9 +83,9 @@ download https://raw.githubusercontent.com/TommyTran732/QubesOS-Scripts/main/etc # Setup networking # We don't need the usual mac address randomization and stuff here, because this template is not used for sys-net -# This breaks saving network settings with the Fedora 40 template rn, so I am commenting it out. -#sudo mkdir -p /etc/systemd/system/NetworkManager.service.d -#unpriv curl --proxy http://127.0.0.1:8082 https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf | sudo tee /etc/systemd/system/NetworkManager.service.d/99-brace.conf +sudo mkdir -p /etc/systemd/system/NetworkManager.service.d +download https://raw.githubusercontent.com/TommyTran732/QubesOS-Scripts/refs/heads/main/etc/systemd/system/NetworkManager.service.d/98-qubes-fix.conf /etc/systemd/system/NetworkManager.service.d/98-qubes-fix.conf +download https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf /etc/systemd/system/NetworkManager.service.d/99-brace.conf # Disable GJS and WebkitGTK JIT download https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/environment /etc/environment @@ -94,16 +94,16 @@ download https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main echo ' XDG_CURRENT_DESKTOP=GNOME' | sudo tee -a /etc/environment -# Moving DNF handownloading to the bottom as the Qubes template just breaks when repos are changed and needs a reboot to fix - -# Mark packages as manualy installed to avoid removal -sudo dnf mark install flatpak gnome-menus qubes-menus +# Moving DNF handling to the bottom as the Qubes template just breaks when repos are changed and needs a reboot to fix # Remove unwanted groups sudo dnf -y group remove 'Container Management' 'Desktop accessibility' 'Firefox Web Browser' 'Guest Desktop Agents' 'LibreOffice' 'Printing Support' # Remove unnecessary stuff from the Qubes template -sudo dnf -y remove gnome-software httpd keepassxc thunderbird +sudo dnf -y remove gnome-software gnome-system-monitor amd-ucode-firmware *gpu* httpd keepassxc thunderbird + +# Remove unnecessary stuff from the Fedora-41 template (will be split into whats in the qubes template and whats upstream later) +sudo dnf -y remove c-ares hiredis # Remove firefox packages sudo dnf -y remove fedora-bookmarks fedora-chromium-config firefox mozilla-filesystem @@ -141,7 +141,7 @@ sudo dnf config-manager --set-disabled fedora-cisco-openh264 # Install custom packages # gnome-shell is needed for theming to work -sudo dnf -y install qubes-ctap qubes-gpg-split adw-gtk3-theme ncurses gnome-shell ptyxis +sudo dnf -y install qubes-ctap qubes-gpg-split adw-gtk3-theme flatpak ncurses gnome-shell # Setup hardened_malloc sudo https_proxy=127.0.0.1:8082 dnf copr enable secureblue/hardened_malloc -y