summaryrefslogtreecommitdiff
path: root/kanotix-reset-plasma-panel
diff options
context:
space:
mode:
Diffstat (limited to 'kanotix-reset-plasma-panel')
-rw-r--r--kanotix-reset-plasma-panel7
1 files changed, 6 insertions, 1 deletions
diff --git a/kanotix-reset-plasma-panel b/kanotix-reset-plasma-panel
index 898b451..4974b52 100644
--- a/kanotix-reset-plasma-panel
+++ b/kanotix-reset-plasma-panel
@@ -1,2 +1,7 @@
#!/bin/sh
-qdbus org.kde.plasma-desktop /MainApplication loadScriptInInteractiveConsole /usr/share/kde4/apps/plasma-desktop/updates/01-kanotix-default-setup.js
+echo "creating backup of ~/.kde/share/config/plasma-desktop-appletsrc"
+rm -f ~/.kde/share/config/plasma-desktop-appletsrc.bak
+cp ~/.kde/share/config/plasma-desktop-appletsrc ~/.kde/share/config/plasma-desktop-appletsrc.bak
+echo "loading panel reset script to plasma desktop console"
+qdbus org.kde.plasma-desktop /MainApplication loadScriptInInteractiveConsole /usr/share/kde4/apps/plasma-desktop/updates/01-kanotix-default-setup.js 2> /dev/null
+echo "to start plasma panel reset, press execute button"