Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Remove Konsole & GNOME Terminal to save space in-image #1550

Merged
merged 3 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -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 && \
mkdir -p /tmp/tilingshell && \
Expand All @@ -579,7 +579,6 @@ RUN --mount=type=cache,dst=/var/cache/rpm-ostree \
wget -qi - -O /tmp/tilingshell/[email protected] && \
unzip /tmp/tilingshell/[email protected] -d /usr/share/gnome-shell/extensions/[email protected] && \
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 && \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading