From 1816b46f9224d5f1f2a9f44ba545575dbab500df Mon Sep 17 00:00:00 2001
From: Holger Paradies <retabell@gmx.de>
Date: Sat, 29 Mar 2014 18:07:11 +0100
Subject: lxde-extra 0.2.8 change compiz startup

---
 kanotix-lxde-extra/debian/changelog     |  8 ++++++++
 kanotix-lxde-extra/kanotix-start-compiz | 10 +++++++---
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/kanotix-lxde-extra/debian/changelog b/kanotix-lxde-extra/debian/changelog
index 29b1293..72e75d2 100644
--- a/kanotix-lxde-extra/debian/changelog
+++ b/kanotix-lxde-extra/debian/changelog
@@ -1,3 +1,11 @@
+kanotix-lxde-extra (0.2.8) unstable; urgency=low
+
+  * start compiz with replace option and
+  * do not reload with fusion-icon
+  * hopefully this fix the lxpanel problem
+
+ -- Holger Paradies <retabell@gmx.de>  Sat, 29 Mar 2014 15:44:37 +0100
+
 kanotix-lxde-extra (0.2.7) unstable; urgency=low
 
   * enable compton without compiz installed
diff --git a/kanotix-lxde-extra/kanotix-start-compiz b/kanotix-lxde-extra/kanotix-start-compiz
index b1f631f..4a4b764 100644
--- a/kanotix-lxde-extra/kanotix-start-compiz
+++ b/kanotix-lxde-extra/kanotix-start-compiz
@@ -1,10 +1,10 @@
 #!/bin/sh
 
- # kanotix-start-copmpiz 20140212
+ # kanotix-start-copmpiz 20140329
  # Start compiz via fusion-icon
 
 [ "$(id -u)" = "0" ] && exit 2        # do not run as root
-! [ -x /usr/sbin/lightdm ] && exit 3 # only start in lxde with ligthdm
+! [ -x /usr/bin/lxde-logout ] && exit 3 # only start in lxde
 
 if [ -e ~/.nocompiz ]; then
  # write openbox-config and start openbox
@@ -69,7 +69,11 @@ fi
 if glxinfo|grep -q GLX_EXT_texture_from_pixmap; then
 if [ -x /usr/bin/fusion-icon ]; then
  echo "starte fusion-icon"
- fusion-icon $STARTFLAG >/dev/null 2>&1 &     # start and reload windowmanager
+ if grep "wm = compiz" ~/.config/compiz/fusion-icon; then
+ compiz --replace &
+ fi
+
+ fusion-icon -n >/dev/null 2>&1 &     # start and do not reload windowmanager
 else
  echo "ERROR fusion-icon not found, starting default" >&2
 fi
-- 
cgit v1.0