summaryrefslogtreecommitdiff
path: root/kanotix-lxde-extra/kanotix-start-compiz
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2014-02-12 13:58:31 +0100
committerHolger Paradies <retabell@gmx.de>2014-02-15 13:25:16 +0100
commitc1b977a76058b1e9cc2d9ee1d71a35a8611c4845 (patch)
treef7eba4b4463267e14195beb620c267a595a4ee91 /kanotix-lxde-extra/kanotix-start-compiz
parent3e0260443c16acd5ba09f5e720322f3859b14af1 (diff)
downloadkanotix-packages-c1b977a76058b1e9cc2d9ee1d71a35a8611c4845.zip
kanotix-packages-c1b977a76058b1e9cc2d9ee1d71a35a8611c4845.tar.gz
lxde-extra 0.2.7 enable compton standalone
Diffstat (limited to 'kanotix-lxde-extra/kanotix-start-compiz')
-rw-r--r--kanotix-lxde-extra/kanotix-start-compiz6
1 files changed, 4 insertions, 2 deletions
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