Skip to content

Commit 31c7fa7

Browse files
authored
feat: tell discover to only show flatpaks (#277)
This adds a one-line change to the build files that will alter the Discover Desktop Shortcut with a command-line argument so that it only shows Flatpaks instead of Flatpaks, Themes and other stuff.
1 parent b3c39c7 commit 31c7fa7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build_files/base/07-base-image-changes.sh

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ sed -i 's@Exec=ptyxis@Exec=kde-ptyxis@g' /usr/share/applications/org.gnome.Ptyxi
2828
sed -i 's@Keywords=@Keywords=konsole;console;@g' /usr/share/applications/org.gnome.Ptyxis.desktop
2929
cp /usr/share/applications/org.gnome.Ptyxis.desktop /usr/share/kglobalaccel/org.gnome.Ptyxis.desktop
3030

31+
# Plasma Discover
32+
sed -i 's|^Exec=plasma-discover %F$|Exec=plasma-discover --backends flatpak-backend %F|' /usr/share/applications/org.kde.discover.desktop
33+
3134
rm -f /etc/profile.d/gnome-ssh-askpass.{csh,sh} # This shouldn't be pulled in
3235

3336
# Test aurora gschema override for errors. If there are no errors, proceed with compiling aurora gschema, which includes setting overrides.

0 commit comments

Comments
 (0)