From d7d33445f9bf4b251bb8e9c7a0ddd0fad1eeb7ae Mon Sep 17 00:00:00 2001
From: Holger Paradies <retabell@gmx.de>
Date: Tue, 10 Sep 2013 03:04:53 +0200
Subject: Version 0.2.4 compton icon-cache

Version-0.2.7
---
 kanotix-lxde-extra/debian/changelog                     |  6 ++++++
 kanotix-lxde-extra/debian/install                       |  2 +-
 kanotix-lxde-extra/kanotix-icon-cache                   |  6 ++++++
 kanotix-lxde-extra/kanotix-lightdm-display-setup-script |  2 +-
 kanotix-lxde-extra/kanotix-lxde-upstart                 | 10 ----------
 kanotix-lxde-extra/kanotix-start-compiz                 |  4 ++++
 6 files changed, 18 insertions(+), 12 deletions(-)
 create mode 100755 kanotix-lxde-extra/kanotix-icon-cache
 delete mode 100644 kanotix-lxde-extra/kanotix-lxde-upstart

diff --git a/kanotix-lxde-extra/debian/changelog b/kanotix-lxde-extra/debian/changelog
index 1d71124..de48f65 100644
--- a/kanotix-lxde-extra/debian/changelog
+++ b/kanotix-lxde-extra/debian/changelog
@@ -1,3 +1,9 @@
+kanotix-lxde-extra (0.2.4) unstable; urgency=low
+
+  * compton icon-cache
+
+ -- Holger Paradies <retabell@gmx.de>  Tue, 10 Sep 2013 03:00:51 +0200
+
 kanotix-lxde-extra (0.2.3+dragonfire1) dragonfire; urgency=low
 
   * Non-maintainer upload for Kanotix Dragonfire.
diff --git a/kanotix-lxde-extra/debian/install b/kanotix-lxde-extra/debian/install
index a7ae577..4374932 100644
--- a/kanotix-lxde-extra/debian/install
+++ b/kanotix-lxde-extra/debian/install
@@ -3,6 +3,6 @@ splash_background_dragonfire.png usr/share/images/kanotix-lxde
 kanotix-start-compiz usr/bin
 51-synaptics-kanotix.conf usr/share/X11/xorg.conf.d
 kanotix-eject.desktop usr/share/applications
-kanotix-lxde-upstart usr/sbin
 kanotix-lightdm-display-setup-script usr/sbin
 kanotix-lxde-keyboard usr/bin
+kanotix-icon-cache etc/cron.daily
diff --git a/kanotix-lxde-extra/kanotix-icon-cache b/kanotix-lxde-extra/kanotix-icon-cache
new file mode 100755
index 0000000..68b768e
--- /dev/null
+++ b/kanotix-lxde-extra/kanotix-icon-cache
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# generate icon-cache deleted in live-build
+if [ -x /usr/sbin/lightdm ]; then
+ find /usr/share/icons -mindepth 2 -maxdepth 2 -name index.theme -execdir gtk-update-icon-cache-3.0 -f -q . \;
+fi
diff --git a/kanotix-lxde-extra/kanotix-lightdm-display-setup-script b/kanotix-lxde-extra/kanotix-lightdm-display-setup-script
index 0140fa8..b623f9c 100644
--- a/kanotix-lxde-extra/kanotix-lightdm-display-setup-script
+++ b/kanotix-lxde-extra/kanotix-lightdm-display-setup-script
@@ -1,5 +1,5 @@
 #!/bin/sh
 
 # do not delete this file, or lightdm won't start, it is called by lightdm
-/usr/sbin/kanotix-lxde-upstart &
+
 exit 0
diff --git a/kanotix-lxde-extra/kanotix-lxde-upstart b/kanotix-lxde-extra/kanotix-lxde-upstart
deleted file mode 100644
index ec5dcb5..0000000
--- a/kanotix-lxde-extra/kanotix-lxde-upstart
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-# generate icon-cache deleted in live-build
-if ! [ -e /usr/share/icons/nuoveXT2/icon-theme.cache ]; then
-find /usr/share/icons -mindepth 1 -maxdepth 1 -type d | while read -r ICON; do
-if [ -f "$ICON/index.theme" ]; then
-    gtk-update-icon-cache-3.0 -f -q "$ICON"
-fi
-done
-fi
diff --git a/kanotix-lxde-extra/kanotix-start-compiz b/kanotix-lxde-extra/kanotix-start-compiz
index c3a92a1..982ea91 100644
--- a/kanotix-lxde-extra/kanotix-start-compiz
+++ b/kanotix-lxde-extra/kanotix-start-compiz
@@ -43,6 +43,10 @@ active wm = openbox-lxde
 
 _EOF_
 
+if [ -e ~/.compton ]; then
+echo "starting compton" >&2
+compton -b
+fi
 exit 4
 fi
 
-- 
cgit v1.0