aboutsummaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2020-12-05 21:22:07 +0100
committer Eric Hameleers <alien@slackware.com>2020-12-05 21:22:07 +0100
commit7ef412975cd01230c4e3a04d41b9ce1c7ad98b23 (patch)
tree57da82fa17977a3e692f6f70bd38e71034aa73cb /make_slackware_live.sh
parentc9d5d9d10c4f53f4409db6e49acb0948ab819073 (diff)
downloadliveslak-7ef412975cd01230c4e3a04d41b9ce1c7ad98b23.tar.gz
liveslak-7ef412975cd01230c4e3a04d41b9ce1c7ad98b23.tar.xz
PLASMA5: Remove broken/unwanted shortcuts (discover/konqueror) from taskbar
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index e7d2b67..03bfdd0 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -2191,6 +2191,11 @@ if [ "$LIVEDE" = "PLASMA5" -o "$LIVEDE" = "DAW" ]; then
rm -f ${LIVE_ROOTDIR}/usr/share/wayland-sessions/plasmawayland.desktop || true
fi
+ # Remove broken/unwanted shortcuts (discover and konqueror) from taskbar:
+ sed -i ${LIVE_ROOTDIR}/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml \
+ -e 's#,applications:org.kde.discover.desktop##' \
+ -e s'#,preferred://browser##'
+
# Set the OS name to "Slackware Live" in "System Information":
echo "Name=${DISTRO^} Live" >> ${LIVE_ROOTDIR}/etc/kde/xdg/kcm-about-distrorc