summaryrefslogtreecommitdiff
path: root/kanotix-lxde-extra/kanotix-start-compiz
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2013-12-17 20:22:01 +0100
committerHolger Paradies <retabell@gmx.de>2013-12-17 20:53:23 +0100
commitb2d81b58bbc8f03dfca7d8de19ab5c303e8e3097 (patch)
tree8c721bb0e0552a1e08e207f12c1e4a38702b64dd /kanotix-lxde-extra/kanotix-start-compiz
parentaeee37aa2f588dfe225b743aeecb4669d20d5c25 (diff)
downloadkanotix-packages-b2d81b58bbc8f03dfca7d8de19ab5c303e8e3097.zip
kanotix-packages-b2d81b58bbc8f03dfca7d8de19ab5c303e8e3097.tar.gz
Version 0.2.5 check llvmpipe
Diffstat (limited to 'kanotix-lxde-extra/kanotix-start-compiz')
-rw-r--r--kanotix-lxde-extra/kanotix-start-compiz19
1 files changed, 19 insertions, 0 deletions
diff --git a/kanotix-lxde-extra/kanotix-start-compiz b/kanotix-lxde-extra/kanotix-start-compiz
index 982ea91..f1b35b3 100644
--- a/kanotix-lxde-extra/kanotix-start-compiz
+++ b/kanotix-lxde-extra/kanotix-start-compiz
@@ -27,6 +27,23 @@ active wm = compiz
_EOF_
fi
+# force nocompiz with llvmpipe
+if glxinfo|grep -q llvmpipe; then
+echo "disable compiz on llvmpipe" >&2
+sed -i s/"active wm = compiz"/"active wm = openbox-lxde"/ ~/.config/compiz/fusion-icon
+#cat <<"_EOF_" > ~/.config/compiz/fusion-icon
+#[compiz options]
+#loose binding = false
+#indirect rendering = false
+
+#[window manager]
+#active wm = openbox-lxde
+
+
+#_EOF_
+
+fi
+
if [ -e ~/.nocompiz ]; then
# write openbox-config and start openbox
# keep care we have this config in case fusion-icon is started from
@@ -50,9 +67,11 @@ fi
exit 4
fi
+
# start compiz/openbox choosen from config
if glxinfo|grep -q GLX_EXT_texture_from_pixmap; then
if [ -x /usr/bin/fusion-icon ]; then
+ echo "starte fusion-icon"
fusion-icon >/dev/null 2>&1 & # start and reload windowmanager
else
echo "ERROR fusion-icon not found, starting default" >&2