From ee89f5f76b665d90dc63dd8d7e5445ff35db7c29 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Wed, 28 Aug 2024 07:13:08 -0700 Subject: [PATCH] feat: Remove Konsole & GNOME Terminal to save space in-image (#1550) * feat: Remove Konsole & GNOME Terminal to save space in-image * chore(readme): Discard reference to removed ujust command * chore: Remove unneeded desktop file changes --- Containerfile | 7 +++---- README.md | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Containerfile b/Containerfile index 2526f003..901a00e6 100644 --- a/Containerfile +++ b/Containerfile @@ -504,7 +504,8 @@ RUN --mount=type=cache,dst=/var/cache/rpm-ostree \ qt \ krdp && \ rpm-ostree override remove \ - plasma-welcome && \ + plasma-welcome \ + konsole && \ rpm-ostree override replace \ --experimental \ --from repo=copr:copr.fedorainfracloud.org:ublue-os:staging \ @@ -535,8 +536,6 @@ RUN --mount=type=cache,dst=/var/cache/rpm-ostree \ sed -i 's@Exec=ptyxis@Exec=kde-ptyxis@g' /usr/share/applications/org.gnome.Ptyxis.desktop && \ sed -i 's@Keywords=@Keywords=konsole;console;@g' /usr/share/applications/org.gnome.Ptyxis.desktop && \ cp /usr/share/applications/org.gnome.Ptyxis.desktop /usr/share/kglobalaccel/org.gnome.Ptyxis.desktop && \ - sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/org.kde.konsole.desktop && \ - rm -f /usr/share/kglobalaccel/org.kde.konsole.desktop && \ setcap 'cap_net_raw+ep' /usr/libexec/ksysguard/ksgrd_network_helper \ ; else \ rpm-ostree override replace \ @@ -571,6 +570,7 @@ RUN --mount=type=cache,dst=/var/cache/rpm-ostree \ gnome-classic-session-xsession \ gnome-tour \ gnome-extensions-app \ + gnome-terminal \ gnome-terminal-nautilus \ gnome-initial-setup \ gnome-shell-extension-background-logo \ @@ -581,7 +581,6 @@ RUN --mount=type=cache,dst=/var/cache/rpm-ostree \ wget -qi - -O /tmp/tilingshell/tilingshell@ferrarodomenico.com.zip && \ unzip /tmp/tilingshell/tilingshell@ferrarodomenico.com.zip -d /usr/share/gnome-shell/extensions/tilingshell@ferrarodomenico.com && \ rm -rf /tmp/tilingshell && \ - sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/org.gnome.Terminal.desktop && \ sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/org.gnome.SystemMonitor.desktop && \ systemctl enable dconf-update.service \ ; fi && \ diff --git a/README.md b/README.md index 396fac5b..c30a14d3 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Bazzite is built from [ublue-os/main](https://github.com/ublue-os/main) and [ubl - [ROM Properties Page shell extension](https://github.com/GerbilSoft/rom-properties) included. - Full support for [Winesync/Fastsync/NTsync](https://github.com/Frogging-Family/wine-tkg-git/issues/936). - [Distrobox](https://github.com/89luca89/distrobox) preinstalled with automatic updates for created containers. -- [Ptyxis Terminal](https://gitlab.gnome.org/chergert/ptyxis) used as the default in all images. This terminal is specifically designed for the container workflow you'll use in Bazzite. If you wish to return to stock, run `ujust _restore-original-terminal` +- [Ptyxis Terminal](https://gitlab.gnome.org/chergert/ptyxis) used as the default in all images. This terminal is specifically designed for the container workflow you'll use in Bazzite. KDE Console and GNOME Console can be installed as flatpaks if required. - Automated `duperemove` service for reducing the disk space used by wine prefix contents. - Support for HDMI CEC via [libCEC](https://libcec.pulse-eight.com/). - Uses [Google's BBR TCP congestion control](https://github.com/google/bbr) by default.