summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig/chroot_local-includes/lib/live/config/9023-disable-compiz27
-rwxr-xr-xconfig/chroot_local-includes/lib/live/config/9024-lxde-compositor29
-rw-r--r--config/lists/kanotix-lxde-master1
3 files changed, 30 insertions, 27 deletions
diff --git a/config/chroot_local-includes/lib/live/config/9023-disable-compiz b/config/chroot_local-includes/lib/live/config/9023-disable-compiz
deleted file mode 100755
index e95c63a..0000000
--- a/config/chroot_local-includes/lib/live/config/9023-disable-compiz
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-Nocompiz ()
-{
- # Checking if configured
- if [ -e /var/lib/live/config/nocompiz ]
- then
- return
- fi
- echo -n " nocompiz"
- Configure_nocompiz
-}
-
-Configure_nocompiz ()
-{
- # Boot parameters can be acted up either this way...
- if ! grep -qs "nocompiz" /proc/cmdline
- then
- return
- fi
- #rm -f /home/${LIVE_USERNAME}/.config/autostart/compiz_start.desktop
- touch /home/${LIVE_USERNAME}/.nocompiz
- # Creating state file
- touch /var/lib/live/config/nocompiz
-}
-
-Nocompiz
diff --git a/config/chroot_local-includes/lib/live/config/9024-lxde-compositor b/config/chroot_local-includes/lib/live/config/9024-lxde-compositor
new file mode 100755
index 0000000..3d4245f
--- /dev/null
+++ b/config/chroot_local-includes/lib/live/config/9024-lxde-compositor
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+Composit ()
+{
+ # Checking if configured
+ if [ -e /var/lib/live/config/composit ]
+ then
+ return
+ fi
+ echo -n " composit"
+ Configure_composit
+}
+Configure_composit ()
+{
+ # Boot parameters can be acted up either this way...
+ if grep -qs "compton" /proc/cmdline
+ then
+ touch /home/${LIVE_USERNAME}/.compton
+ touch /home/${LIVE_USERNAME}/.nocompiz
+ fi
+ if grep -qs "nocompiz" /proc/cmdline
+ then
+ touch /home/${LIVE_USERNAME}/.nocompiz
+ fi
+ # Creating state file
+ touch /var/lib/live/config/composit
+}
+
+Composit
diff --git a/config/lists/kanotix-lxde-master b/config/lists/kanotix-lxde-master
index c118c9b..2ec32c5 100644
--- a/config/lists/kanotix-lxde-master
+++ b/config/lists/kanotix-lxde-master
@@ -2,6 +2,7 @@
#include <kanotix-lxde-base>
#include <compiz-gtk>
+compton
# office
evince-gtk