summaryrefslogtreecommitdiff
path: root/kanotix-lxde-extra/kanotix-start-compiz
diff options
context:
space:
mode:
Diffstat (limited to 'kanotix-lxde-extra/kanotix-start-compiz')
-rw-r--r--kanotix-lxde-extra/kanotix-start-compiz22
1 files changed, 12 insertions, 10 deletions
diff --git a/kanotix-lxde-extra/kanotix-start-compiz b/kanotix-lxde-extra/kanotix-start-compiz
index 4a4b764..e2ba431 100644
--- a/kanotix-lxde-extra/kanotix-start-compiz
+++ b/kanotix-lxde-extra/kanotix-start-compiz
@@ -10,9 +10,9 @@ 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/
+mkdir -p ~/.config/compiz-1/
echo "compiz start disabled per user setting" >&2
-cat <<"_EOF_" > ~/.config/compiz/fusion-icon
+cat <<"_EOF_" > ~/.config/compiz-1/fusion-icon
[compiz options]
loose binding = false
indirect rendering = false
@@ -33,10 +33,10 @@ fi
! [ -x /usr/bin/compiz ] && exit 1 # check for compiz
# startup
-if ! [ -e ~/.config/compiz/fusion-icon ]; then
+if ! [ -e ~/.config/compiz-1/fusion-icon ]; then
# write default config for fusion-icon, this is default, also
# this can go to etcskel, but better keep here
-cat <<"_EOF_" > ~/.config/compiz/fusion-icon
+cat <<"_EOF_" > ~/.config/compiz-1/fusion-icon
[compiz options]
loose binding = false
indirect rendering = false
@@ -58,22 +58,24 @@ fi
# force no compiz start 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
+sed -i s/"active wm = compiz"/"active wm = openbox-lxde"/ ~/.config/compiz-1/fusion-icon
STARTFLAG="-n"
fi
# start compiz/openbox choosen from config
-if grep "openbox-lxde" ~/.config/compiz/fusion-icon; then
+if grep "openbox-lxde" ~/.config/compiz-1/fusion-icon; then
STARTFLAG="-n"
fi
if glxinfo|grep -q GLX_EXT_texture_from_pixmap; then
if [ -x /usr/bin/fusion-icon ]; then
echo "starte fusion-icon"
- if grep "wm = compiz" ~/.config/compiz/fusion-icon; then
- compiz --replace &
- fi
+ #if grep "wm = compiz" ~/.config/compiz-1/fusion-icon; then
+ #compiz --replace &
+ #fi
+
+ #fusion-icon -n >/dev/null 2>&1 & # start and do not reload windowmanager
+ fusion-icon -v >/dev/null 2>&1 & # start in verbose mode
- fusion-icon -n >/dev/null 2>&1 & # start and do not reload windowmanager
else
echo "ERROR fusion-icon not found, starting default" >&2
fi