wok-current view compiz/stuff/compiz-session @ rev 12907

Move audit gtkhotkey libqcow sweethome3d from undigest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 29 18:15:33 2012 +0200 (2012-05-29)
parents
children 41794be0da15
line source
1 #!/bin/sh
2 #
3 # Start Compiz 3D Desktop on SliTaz. We use some LXDE componment
4 # and check compiz config files exist.
5 #
7 export XDG_CONFIG_HOME="$HOME/.config"
8 export XDG_CACHE_HOME="$HOME/.cache"
9 export XDG_CURRENT_DESKTOP=LXDE
10 export DESKTOP_SESSION=compiz
12 # Start DBUS session.
13 if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then
14 dbus-launch --sh-syntax --exit-with-session &
15 fi
17 # Compiz configuration files from slitaz-configs.
18 if [ ! -f "$XDG_CONFIG_HOME/compiz-1/compizconfig/config" ]; then
19 mkdir -p $XDG_CONFIG_HOME/compiz-1/compizconfig
20 cp -r /usr/share/slitaz/compiz/* $XDG_CONFIG_HOME/compiz-1/compizconfig
21 fi
23 # PCmanFM config file. NOTE: will change with new PCmanFM
24 if [ ! -f "$XDG_CONFIG_HOME/pcmanfm/main" ]; then
25 mkdir -p $XDG_CONFIG_HOME/pcmanfm
26 cp /usr/share/slitaz/lxde/pcmanfm.main \
27 $XDG_CONFIG_HOME/pcmanfm/main
28 fi
30 # Start some LXDE componment.
31 lxpanel -p slitaz &
32 pcmanfm -d &
33 emerald &
34 exec compiz ccp --indirect-rendering