wok view compiz/stuff/compiz-session @ rev 15958
Add nsd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 23 20:33:22 2014 +0000 (2014-02-23) |
parents | 569abf072b71 |
children | 8e1f5fe117e6 |
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: We dont need a user config file
24 #if [ ! -f "$XDG_CONFIG_HOME/pcmanfm/main" ]; then
25 #mkdir -p $XDG_CONFIG_HOME/pcmanfm/default
26 #cp /etc/xdg/pcmanfm/default/pcmanfm.conf \
27 #$XDG_CONFIG_HOME/pcmanfm/default
28 #fi
30 # Start some LXDE componment.
31 lxpanel -p slitaz &
32 pcmanfm --desktop &
33 emerald &
34 exec compiz ccp --indirect-rendering