summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2018-11-23 18:47:13 +0100
committerHolger Paradies <retabell@gmx.de>2018-11-23 18:47:13 +0100
commit935f06162d17d7d16a41d3409f32c392ef1aed96 (patch)
tree06e94e81438e00c63639e0b201a7da6323c096d1
parent99bda09fd711ffdd796b6c20bad9ffb682e4ae50 (diff)
downloadkanotix-packages-935f06162d17d7d16a41d3409f32c392ef1aed96.zip
kanotix-packages-935f06162d17d7d16a41d3409f32c392ef1aed96.tar.gz
modify 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