From c1b977a76058b1e9cc2d9ee1d71a35a8611c4845 Mon Sep 17 00:00:00 2001
From: Holger Paradies <retabell@gmx.de>
Date: Wed, 12 Feb 2014 13:58:31 +0100
Subject: lxde-extra 0.2.7 enable compton standalone

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

diff --git a/kanotix-lxde-extra/debian/changelog b/kanotix-lxde-extra/debian/changelog
index 908e372..29b1293 100644
--- a/kanotix-lxde-extra/debian/changelog
+++ b/kanotix-lxde-extra/debian/changelog
@@ -1,3 +1,9 @@
+kanotix-lxde-extra (0.2.7) unstable; urgency=low
+
+  * enable compton without compiz installed
+
+ -- Holger Paradies <retabell@gmx.de>  Wed, 12 Feb 2014 13:57:01 +0100
+
 kanotix-lxde-extra (0.2.6) unstable; urgency=low
 
   * changes to compi start
diff --git a/kanotix-lxde-extra/kanotix-start-compiz b/kanotix-lxde-extra/kanotix-start-compiz
index 7e3d478..b1f631f 100644
--- a/kanotix-lxde-extra/kanotix-start-compiz
+++ b/kanotix-lxde-extra/kanotix-start-compiz
@@ -1,9 +1,8 @@
 #!/bin/sh
 
- # kanotix-start-copmpiz 20131231
+ # kanotix-start-copmpiz 20140212
  # Start compiz via fusion-icon
 
-! [ -x /usr/bin/compiz ] &&  exit 1   # check for compiz
 [ "$(id -u)" = "0" ] && exit 2        # do not run as root
 ! [ -x /usr/sbin/lightdm ] && exit 3 # only start in lxde with ligthdm
 
@@ -11,6 +10,7 @@ if [ -e ~/.nocompiz ]; then
  # write openbox-config and start openbox
  # keep care we have this config in case fusion-icon is started from
  # menu later with the -n option
+mkdir -p ~/.config/compiz/
 echo "compiz start disabled per user setting" >&2
 cat <<"_EOF_" > ~/.config/compiz/fusion-icon
 [compiz options]
@@ -30,6 +30,8 @@ fi
 exit 4
 fi
 
+! [ -x /usr/bin/compiz ] &&  exit 1   # check for compiz
+
 # startup
 if ! [ -e ~/.config/compiz/fusion-icon ]; then
  # write default config for fusion-icon, this is default, also
-- 
cgit v1.0