[neon/snap-packaging/plasma-core-desktop] hooks: Remove discover from taskmanager launcher entries

Kevin Ottens null at kde.org
Sun Aug 18 14:09:56 BST 2024


Git commit 0832a1e49b3abbf77a1b1b869ff632cf69e11cfb by Kevin Ottens.
Committed on 18/08/2024 at 13:08.
Pushed by ervin into branch 'master'.

Remove discover from taskmanager launcher entries

M  +5    -0    hooks/006-add-plasma-session.chroot

https://invent.kde.org/neon/snap-packaging/plasma-core-desktop/-/commit/0832a1e49b3abbf77a1b1b869ff632cf69e11cfb

diff --git a/hooks/006-add-plasma-session.chroot b/hooks/006-add-plasma-session.chroot
index 7d786cb..2e256af 100755
--- a/hooks/006-add-plasma-session.chroot
+++ b/hooks/006-add-plasma-session.chroot
@@ -159,6 +159,11 @@ done
 # of the session must not go through it
 rm /usr/lib/x86_64-linux-gnu/qt6/plugins/platformthemes/libqxdgdesktopportal.so
 
+# Remove the discover entries from taskmanager launchers
+# this is provided by a separate snap and might not be here
+sed -i "s/applications:org.kde.discover.desktop,//" \
+    /usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml
+
 # ubuntu init uses AccountsService to create the user account.
 # AccountsService in turn calls /usr/sbin/adduser.  Replace that
 # script with a wrapper that adds the --extrausers argument.


More information about the Neon-commits mailing list