From 842a10d18e0b3ba1000b43513cf7f53cc204f41f Mon Sep 17 00:00:00 2001
From: Maximilian Gerhard <maxbox@directbox.com>
Date: Sat, 1 Oct 2011 02:25:20 +0200
Subject: extended kanotix-reset-plasma-panel script

---
 debian/changelog           | 8 ++++++++
 kanotix-reset-plasma-panel | 7 ++++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 5a7e3dc..fa92e93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+etcskel-kanotix (1.1.1) unstable; urgency=low
+
+  * avoid stacked plasma panels on reset, remove all old panels first
+  * create plasma-desktop-aplletsrc backup before panel reset
+  * offer some info/helper texts for kanotix-reset-plasma-panel script
+
+ -- Maximilian Gerhard <maxbox@directbox.com>  Sat, 01 Oct 2011 00:50:11 +0200
+
 etcskel-kanotix (1.1.0) unstable; urgency=low
 
   * added plasma panel reset
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"
-- 
cgit v1.0