summaryrefslogtreecommitdiff
path: root/kanotix-reset-plasma-panel
diff options
context:
space:
mode:
authorMaximilian Gerhard <maxbox@directbox.com>2011-10-01 02:25:20 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2011-10-01 16:34:33 +0200
commit842a10d18e0b3ba1000b43513cf7f53cc204f41f (patch)
tree13b080108b7b5abcfd757054526be2f44e96d904 /kanotix-reset-plasma-panel
parenta20f235a319f6bb02f42b600eb8371b8b8a8443a (diff)
downloadetcskel-kanotix-842a10d18e0b3ba1000b43513cf7f53cc204f41f.zip
etcskel-kanotix-842a10d18e0b3ba1000b43513cf7f53cc204f41f.tar.gz
extended kanotix-reset-plasma-panel script
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"