summaryrefslogtreecommitdiff
path: root/plasma-desktop
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-05-18 05:56:33 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2012-05-18 05:56:33 +0200
commitd18ec281cdcf2851180de54620206f394fda255e (patch)
tree323a5773652937eef705869e5bf29136cce72fa1 /plasma-desktop
parente42c2f330d1a997433323977734a26d3ab99f755 (diff)
downloadetcskel-kanotix-d18ec281cdcf2851180de54620206f394fda255e.zip
etcskel-kanotix-d18ec281cdcf2851180de54620206f394fda255e.tar.gz
import changes from debian package version 2.0.0
Diffstat (limited to 'plasma-desktop')
-rw-r--r--plasma-desktop/updates/01-kanotix-default-lock.js2
-rw-r--r--plasma-desktop/updates/01-kanotix-default-setup.js58
2 files changed, 0 insertions, 60 deletions
diff --git a/plasma-desktop/updates/01-kanotix-default-lock.js b/plasma-desktop/updates/01-kanotix-default-lock.js
deleted file mode 100644
index 80f258d..0000000
--- a/plasma-desktop/updates/01-kanotix-default-lock.js
+++ /dev/null
@@ -1,2 +0,0 @@
-// lock plasma desktop
-locked = true;
diff --git a/plasma-desktop/updates/01-kanotix-default-setup.js b/plasma-desktop/updates/01-kanotix-default-setup.js
deleted file mode 100644
index 37ecbd0..0000000
--- a/plasma-desktop/updates/01-kanotix-default-setup.js
+++ /dev/null
@@ -1,58 +0,0 @@
-// if desktop is locked, save current state and unlock
-var was_locked = false;
-if (locked) {
- was_locked = true
- locked = false
-}
-
-// remove all panels from desktop
-pIds = panelIds;
-for (i = 0; i < pIds.length; ++i) {
- p = panelById(pIds[i]);
- p.remove();
-}
-
-var panel = new Panel("panel");
-panel.location = "bottom";
-launcher = panel.addWidget("launcher");
-launcher.globalShortcut = "Alt+F1"
-launcher.writeConfig("Share", "false");
-launcher.writeConfig("icon", "start-here-kanotix");
-launcher.reloadConfig();
-panel.addWidget("showdesktop");
-
-dolphinIcon = panel.addWidget("icon");
-dolphinIcon.writeConfig("Url", "file:///usr/share/applications/kde4/dolphin.desktop");
-dolphinIcon.reloadConfig();
-
-iceweaselIcon = panel.addWidget("icon");
-iceweaselIcon.writeConfig("Url", "file:///usr/share/applications/iceweasel.desktop");
-iceweaselIcon.reloadConfig();
-
-konsoleIcon = panel.addWidget("icon");
-konsoleIcon.writeConfig("Url", "file:///usr/share/applications/kde4/konsole.desktop");
-konsoleIcon.reloadConfig();
-
-panel.addWidget("pager");
-panel.addWidget("tasks");
-
-systray = panel.addWidget("systemtray");
-systray.writeConfig("alwaysShown", "notifier");
-i = 0;
-if (hasBattery) {
- systray.currentConfigGroup = new Array("Applets", ++i);
- systray.writeConfig("plugin", "battery");
-}
-systray.currentConfigGroup = new Array("Applets", ++i);
-systray.writeConfig("plugin", "notifier");
-
-systray.currentConfigGroup = new Array("Applets", ++i);
-systray.writeConfig("plugin", "org.kde.networkmanagement");
-
-clock = panel.addWidget("digital-clock");
-clock.writeConfig("showDate", "true");
-
-// lock again, if it was locked before
-if (was_locked) {
- locked = true
-}