wok annotate compiz/stuff/compiz-session @ rev 15937
cups-pam: fix stuff path
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 22 16:55:06 2014 +0100 (2014-02-22) |
parents | 569abf072b71 |
children | 8e1f5fe117e6 |
rev | line source |
---|---|
pankso@12405 | 1 #!/bin/sh |
pankso@12405 | 2 # |
pankso@12405 | 3 # Start Compiz 3D Desktop on SliTaz. We use some LXDE componment |
pankso@12405 | 4 # and check compiz config files exist. |
pankso@12405 | 5 # |
pankso@12405 | 6 |
pankso@12405 | 7 export XDG_CONFIG_HOME="$HOME/.config" |
pankso@12405 | 8 export XDG_CACHE_HOME="$HOME/.cache" |
pankso@12405 | 9 export XDG_CURRENT_DESKTOP=LXDE |
pankso@12405 | 10 export DESKTOP_SESSION=compiz |
pankso@12405 | 11 |
pankso@12405 | 12 # Start DBUS session. |
pankso@12405 | 13 if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then |
pankso@12405 | 14 dbus-launch --sh-syntax --exit-with-session & |
pankso@12405 | 15 fi |
pankso@12405 | 16 |
pankso@12405 | 17 # Compiz configuration files from slitaz-configs. |
pankso@12405 | 18 if [ ! -f "$XDG_CONFIG_HOME/compiz-1/compizconfig/config" ]; then |
pankso@12405 | 19 mkdir -p $XDG_CONFIG_HOME/compiz-1/compizconfig |
pankso@12405 | 20 cp -r /usr/share/slitaz/compiz/* $XDG_CONFIG_HOME/compiz-1/compizconfig |
pankso@12405 | 21 fi |
pankso@12405 | 22 |
pankso@15937 | 23 # PCmanFM config file. NOTE: We dont need a user config file |
pankso@15937 | 24 #if [ ! -f "$XDG_CONFIG_HOME/pcmanfm/main" ]; then |
pankso@15937 | 25 #mkdir -p $XDG_CONFIG_HOME/pcmanfm/default |
pankso@15937 | 26 #cp /etc/xdg/pcmanfm/default/pcmanfm.conf \ |
pankso@15937 | 27 #$XDG_CONFIG_HOME/pcmanfm/default |
pankso@15937 | 28 #fi |
pankso@12405 | 29 |
pankso@12405 | 30 # Start some LXDE componment. |
pankso@12405 | 31 lxpanel -p slitaz & |
pankso@15937 | 32 pcmanfm --desktop & |
pankso@12405 | 33 emerald & |
pankso@12405 | 34 exec compiz ccp --indirect-rendering |