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

chore: hide gnome-terminal on > 38 #1188

Merged
merged 1 commit into from
Apr 23, 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
3 changes: 3 additions & 0 deletions build_files/base/aurora-changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ if [[ "${BASE_IMAGE_NAME}" = "kinoite" ]]; then
rm -f /usr/share/kglobalaccel/org.kde.konsole.desktop
rm -f /usr/etc/profile.d/gnome-ssh-askpass.{csh,sh} # This shouldn't be pulled in
systemctl enable kde-sysmonitor-workaround.service
if [[ "$FEDORA_MAJOR_VERSION " -eq "38" ]]; then
rm -f /usr/etc/profile.d/aurora-fastfetch.sh
fi
fi
14 changes: 14 additions & 0 deletions build_files/base/bluefin-changes.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/bash

set -ouex pipefail

if [[ "${BASE_IMAGE_NAME}" = "silverblue" ]]; then
if [[ -f /usr/share/applications/gnome-system-monitor.desktop ]]; then
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nHidden=true@g' /usr/share/applications/gnome-system-monitor.desktop
fi
if [[ "$FEDORA_MAJOR_VERSION " -eq "38" ]]; then
rm -f /usr/etc/profile.d/bluefin-fashfetch.sh
else
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/org.gnome.Terminal.desktop
fi
fi
1 change: 1 addition & 0 deletions build_files/base/build-base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ set -oue pipefail
. /tmp/build/font-install.sh
. /tmp/build/install-tmp.sh
. /tmp/build/systemd.sh
. /tmp/build/bluefin-changes.sh
. /tmp/build/aurora-changes.sh
. /tmp/build/branding.sh
. /tmp/build/initramfs.sh
Expand Down
10 changes: 0 additions & 10 deletions build_files/base/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,4 @@ rm -f /etc/yum.repos.d/ublue-os-staging-fedora-"${FEDORA_MAJOR_VERSION}".repo
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nHidden=true@g' /usr/share/applications/fish.desktop
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nHidden=true@g' /usr/share/applications/htop.desktop
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nHidden=true@g' /usr/share/applications/nvtop.desktop
if [[ "$BASE_IMAGE_NAME" = "silverblue" && -f /usr/share/applications/gnome-system-monitor.desktop ]]; then
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nHidden=true@g' /usr/share/applications/gnome-system-monitor.desktop
fi
if [[ "$FEDORA_MAJOR_VERSION " -eq "38" ]]; then
if [[ "$BASE_IMAGE_NAME" == "silverblue" ]]; then
rm -f /usr/etc/profile.d/bluefin-fashfetch.sh
elif [[ "$BASE_IMAGE_NAME" == "kinoite" ]]; then
rm -f /usr/etc/profile.d/aurora-fastfetch.sh
fi
fi
rm -f /etc/yum.repos.d/_copr_che-nerd-fonts-"${FEDORA_MAJOR_VERSION}".repo
Loading